On Wed 07-02-24 08:24:33, Vlastimil Babka wrote: > On 2/6/24 22:50, Kent Overstreet wrote: > > Introduce PF_MEMALLOC_* equivalents of some GFP_ flags: > > > > PF_MEMALLOC_NORECLAIM -> GFP_NOWAIT > > In an ideal world, this would be nice, but we are in a world with implicit > "too small to fail" guarantees that has so far been impossible to get away > from [1] for small order GFP_KERNEL allocations, and this scoping would be > only safe if no allocations underneath relied on this behavior. But how to > ensure that's the case? Right http://lkml.kernel.org/r/Zbu_yyChbCO6b2Lj@tiehlicka > [1] https://lwn.net/Articles/723317/ -- Michal Hocko SUSE Labs