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

David Rientjes rientjes at google.com
Tue Jun 21 20:27:40 UTC 2016


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.


More information about the devel mailing list