Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1423121 > unrolled thread

Re: [PATCH 04/10] mm, oom_adj: make sure processes sharing mm have same view of oom_score_adj

Started byOleg Nesterov <oleg@redhat.com>
First post2016-06-15 17:10 +0200
Last post2016-06-15 17:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 04/10] mm, oom_adj: make sure processes sharing mm have  same view of oom_score_adj Oleg Nesterov <oleg@redhat.com> - 2016-06-15 17:10 +0200

#1423121 — Re: [PATCH 04/10] mm, oom_adj: make sure processes sharing mm have same view of oom_score_adj

FromOleg Nesterov <oleg@redhat.com>
Date2016-06-15 17:10 +0200
SubjectRe: [PATCH 04/10] mm, oom_adj: make sure processes sharing mm have same view of oom_score_adj
Message-ID<rKkC6-4aQ-9@gated-at.bofh.it>
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.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web