Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1423121 > unrolled thread
| Started by | Oleg Nesterov <oleg@redhat.com> |
|---|---|
| First post | 2016-06-15 17:10 +0200 |
| Last post | 2016-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.
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
| From | Oleg Nesterov <oleg@redhat.com> |
|---|---|
| Date | 2016-06-15 17:10 +0200 |
| Subject | Re: [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.
Back to top | Article view | linux.kernel
csiph-web