On Mon 05-12-16 15:10:09, Michal Hocko wrote: [...] > So we are somewhere in the middle between pre-mature and pointless > system disruption (GFP_NOFS with a lots of metadata or lowmem request) > where the OOM killer even might not help and potential lockup which is > inevitable with the current design. Dunno about you but I would rather > go with the first option. To be honest I really fail to understand your > line of argumentation. We have this > do { > cond_resched(); > } (page = alloc_page(GFP_NOFS)); This should have been while (!(page = alloc_page(GFP_NOFS))) of course... -- 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>