On Tue 26-01-16 18:20:51, Jan Kara wrote: > On Tue 26-01-16 18:17:01, Vlastimil Babka wrote: [...] > > Hmm from last year I remember Dave Chinner saying there really are some > > places that can't handle failure, period? That's why all the discussions > > about reservations, and I would be surprised if all such places were gone > > today? Which of course doesn't mean that there couldn't be different NOFS > > places that can handle failures, which however don't happen in current > > implementation. > > Well, but we have GFP_NOFAIL (or equivalent of thereof opencoded) in there. > So yes, there are GFP_NOFAIL | GFP_NOFS allocations and allocator must deal > with it somehow. Yes, the allocator deals with them in two ways. a) it allows to trigger the OOM killer and b) gives them access to memory reserves. So while the reservation system sounds like a more robust plan long term but we have a way forward right now and distinguish must not fail and do have a fallback method already. -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>