On 06/09, Michal Hocko wrote:
>
> +                     if (!p->vfork_done && process_shares_mm(p, mm)) {
> +                             pr_info("updating oom_score_adj for %d (%s) 
> from %d to %d because it shares mm with %d (%s). Report if this is 
> unexpected.\n",
> +                                             task_pid_nr(p), p->comm,
> +                                             p->signal->oom_score_adj, 
> oom_adj,
> +                                             task_pid_nr(task), task->comm);
> +                             p->signal->oom_score_adj = oom_adj;

Personally I like this change.

And. I think after this change we can actually move ->oom_score_adj into 
mm_struct,
but lets discuss this later.

Oleg.

Reply via email to