On Tue 04-06-19 16:51:38, Ben Hutchings wrote: [...] > - I don't understand why collapse_huge_range() needs to be fixed, but > then I really don't understand the khugepaged code at all! So I would > trust Michal on this. To be honest, I am not really sure myself here. But we are using a remote mm there and I do not see anything that would prevent from racing with exit/coredump. Maybe I am wrong. Let's wait for Andrea for his review feedback. This patch is quite tricky for the stable backport. Thanks! -- Michal Hocko SUSE Labs