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


Groups > linux.kernel > #1711532

Re: [v5 3/4] mm, oom: introduce oom_priority for memory cgroups

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [v5 3/4] mm, oom: introduce oom_priority for memory cgroups
Date 2017-08-15 00:50 +0200
Message-ID <uewlj-1wb-9@gated-at.bofh.it> (permalink)
References <uevID-1jj-31@gated-at.bofh.it> <uewlj-1wb-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 14 Aug 2017, Roman Gushchin wrote:

> Introduce a per-memory-cgroup oom_priority setting: an integer number
> within the [-10000, 10000] range, which defines the order in which
> the OOM killer selects victim memory cgroups.
> 
> OOM killer prefers memory cgroups with larger priority if they are
> populated with elegible tasks.
> 
> The oom_priority value is compared within sibling cgroups.
> 
> The root cgroup has the oom_priority 0, which cannot be changed.
> 
> Signed-off-by: Roman Gushchin <guro@fb.com>
> Cc: Michal Hocko <mhocko@kernel.org>
> Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: David Rientjes <rientjes@google.com>
> Cc: Tejun Heo <tj@kernel.org>
> Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
> Cc: kernel-team@fb.com
> Cc: cgroups@vger.kernel.org
> Cc: linux-doc@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-mm@kvack.org

Tested-by: David Rientjes <rientjes@google.com>

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [v5 3/4] mm, oom: introduce oom_priority for memory cgroups David Rientjes <rientjes@google.com> - 2017-08-15 00:50 +0200

csiph-web