Re: [PATCH 1/3] staging: lowmemorykiller: change lowmem_adj to lowmem_score_adj

From: David Rientjes
Date: Tue Jun 21 2016 - 16:36:24 EST


On Tue, 21 Jun 2016, Ganesh Mahendran wrote:

> om_adj is deprecated, and in lowmemorykiller module, we use score adj
> to do the comparing.
> ---
> oom_score_adj = p->signal->oom_score_adj;
> if (oom_score_adj < min_score_adj) {
> task_unlock(p);
> continue;
> }
> ---
>
> This patch makes the variable name consistent with the usage.
>

Umm, I don't think you can just remove a parameter to a module and replace
it with something that has a different unit and not think that userspace
will break as a result.