Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6c338c40 authored by Jim Blackler's avatar Jim Blackler Committed by Vijayanand Jitta
Browse files

ANDROID: Remove taskname from lowmemorykiller kill reports



Required because the lowmem_shrinker cannot use get_cmdline when called
from the direct reclaim path. Direct reclaim in do_page_fault() takes
mm->mmap_sem before calling shrinkers and get_cmdline also takes
mm->mmap_sem by calling access_process_vm. Userspace should be able to
recover taskname using the reported PID.

Bug: 130017100
Signed-off-by: default avatarJim Blackler <jimblackler@google.com>
Test: Manually
Change-Id: I5f8b15bda60f9e2c0f6373ef54ad6fb95cda7a44
Git-commit: f361aa09
Git-repo: https://android.googlesource.com/kernel/common/


Signed-off-by: default avatarVijayanand Jitta <vjitta@codeaurora.org>
parent e1c9aa2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment