[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0901270134360.20070@chino.kir.corp.google.com>
Date: Tue, 27 Jan 2009 01:37:55 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Evgeniy Polyakov <zbr@...emap.net>
cc: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>, balbir@...ux.vnet.ibm.com,
Nikanth Karthikesan <knikanth@...e.de>,
containers@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org,
Torvalds <torvalds@...ux-foundation.org>,
Arve Hj?nnev?g <arve@...roid.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Chris Snook <csnook@...hat.com>,
Paul Menage <menage@...gle.com>
Subject: Re: [RFC] [PATCH] Cgroup based OOM killer controller
On Tue, 27 Jan 2009, Evgeniy Polyakov wrote:
> /dev/mem_notify is a great idea, but please do not limit existing
> oom-killer in its ability to do the job and do not rely on application's
> ability to send a SIGKILL which will not kill tasks in unkillable state
> contrary to oom-killer.
>
You're missing the point, /dev/mem_notify would notify userspace of lowmem
situations and allow it to respond appropriately in any number of ways
before an oom condition exists.
When the system (or cpuset, memory controller, etc) is oom, userspace can
choose to defer to the oom killer so that it may kill a task that would
most likely lead to future memory freeing with access to memory reserves.
There is no additional oom killer limitation imposed here, nor can the oom
killer kill a task hung in D state any better than userspace.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists