Please sign in to comment.
MemoryMonitor: use /proc/*/oom_score_adj rather than /proc/*/oom_adj
On newer kernels /proc/*/oom_adj is deprecated and should not be used anymore. As Open webOS requires at least a linux 3.3 kernel this changes the use to the new /proc/*/oom_score_adj entry but still keeps backward compatiblity for older kernels which onles provides /proc/*/oom_adj. More information about the change are available on the following pages: - torvalds/linux@a63d83f#include/linux/oom.h - https://www.redhat.com/archives/lvm-devel/2011-July/msg00097.html Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <firstname.lastname@example.org>
- Loading branch information...
Showing with 42 additions and 11 deletions.