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


Groups > linux.kernel > #1677536

Re: [v3 5/6] mm, oom: don't mark all oom victims tasks with TIF_MEMDIE

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: [v3 5/6] mm, oom: don't mark all oom victims tasks with TIF_MEMDIE
Date 2017-06-29 11:00 +0200
Message-ID <tXDsS-5mR-17@gated-at.bofh.it> (permalink)
References <tVh3s-18t-9@gated-at.bofh.it> <tXDsS-5mR-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 21-06-17 22:19:15, Roman Gushchin wrote:
> We want to limit the number of tasks which are having an access
> to the memory reserves. To ensure the progress it's enough
> to have one such process at the time.
> 
> If we need to kill the whole cgroup, let's give an access to the
> memory reserves only to the first process in the list, which is
> (usually) the biggest process.
> This will give us good chances that all other processes will be able
> to quit without an access to the memory reserves.

I don't like this to be honest. Is there any reason to go the reduced
memory reserves access to oom victims I was suggesting earlier [1]?

[1] http://lkml.kernel.org/r/http://lkml.kernel.org/r/1472723464-22866-2-git-send-email-mhocko@kernel.org
-- 
Michal Hocko
SUSE Labs

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [v3 5/6] mm, oom: don't mark all oom victims tasks with  TIF_MEMDIE Michal Hocko <mhocko@kernel.org> - 2017-06-29 11:00 +0200
  Re: [v3 5/6] mm, oom: don't mark all oom victims tasks with  TIF_MEMDIE Michal Hocko <mhocko@kernel.org> - 2017-06-30 10:30 +0200

csiph-web