On Fri 20-05-16 03:50:01, Oleg Nesterov wrote: > On 05/19, Michal Hocko wrote: > > > > Long term I > > would like to to move this logic into the mm_struct, it would be just > > larger surgery I guess. > > Why we can't do this right now? Just another MMF_ flag set only once and > never cleared. It is more complicated and so more error prone. We have to sort out shortcuts which get TIF_MEMDIE without killing first. And we have that nasty "mm shared between independant processes" case there. I definitely want to get to this after the merge window but the oom pile in the Andrew's tree is quite large already. So this patch seems like a good start to build on top. If you feel that this step is not really worth it I can accept it of course, this is an area where we do not have to hurry. -- 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>