Re: [PATCH 1/5] staging: android: lowmemorykiller: Add config option to support oom_adj values

David Rientjes
2013-02-27T22:18:13Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 500 bytes --]

On Tue, 26 Feb 2013, John Stultz wrote:

> From: Arve Hjønnevåg <arve@android.com>
>
> The conversion to use oom_score_adj instead of the deprecated oom_adj
> values breaks existing user-space code. Add a config option to convert
> oom_adj values written to oom_score_adj values if they appear to be
> valid oom_adj values.
>

Umm, writes to /proc/pid/oom_adj already are converted to the
/proc/pid/oom_score_adj scale linearly. Heavy NACK to this patch since
oom_adj is completely deprecated.