commit | 05fdda0dea575139f589377db65dc9b949542d58 | [log] [tgz] |
---|---|---|
author | Charan Teja Reddy <charante@codeaurora.org> | Mon Jan 29 19:17:35 2018 +0530 |
committer | Charan Teja Reddy <charante@codeaurora.org> | Tue Jan 30 13:11:59 2018 +0530 |
tree | 8ca9851afddd8df4a853a751c44bddde497794e3 | |
parent | 2467fe92d35c81139f740bf385acfb634e292a7f [diff] |
lowmemorykiller: ignore the tasks that has null mm for reaping The setting of task_struct->mm to NULL might race when the same process gets selected in the lowmemorykiller path for reaping of memory.So, ignore the process for reaping when its mm NULL. Change-Id: I40a50cc2f6dea892ed9b31df7aad59a349ff8c9c Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>