Commit b3f986cb authored by Alhad Purnapatre's avatar Alhad Purnapatre
Browse files

staging: android: lowmemorykiller: sysfs node and notifications



Create node "/sys/kernel/mm/lowmemkiller/notify_trigger_active",
on which an userspace application can poll for notification when
the number of free physical memory pages in the system falls below
a set threshold. The threshold is set by the new module parameter
"/sys/module/lowmemorykiller/parameters/notify_trigger".
The threshold should be typically set to be higher than the largest
free pages value in /sys/module/lowmemorykiller/parameters/minfree,
so that notification happens before any processes get killed.

Signed-off-by: default avatarAlhad Purnapatre <alhadp@codeaurora.org>
parent 36dfbd85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment