From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evgeniy Polyakov Subject: Re: [RFC] [PATCH] Cgroup based OOM killer controller Date: Tue, 27 Jan 2009 12:31:05 +0300 Message-ID: <20090127093105.GB2646@ioremap.net> References: <20090127155825.D476.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20090127164238.D479.KOSAKI.MOTOHIRO@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: David Rientjes Cc: Nikanth Karthikesan , containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Arve Hj?nnev?g , Andrew Morton , Chris Snook , Torvalds , Paul Menage , Alan Cox , balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org List-Id: containers.vger.kernel.org On Mon, Jan 26, 2009 at 11:51:27PM -0800, David Rientjes (rientjes-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org) wrote: > Yeah, I proposed /dev/mem_notify being made as a client of cgroups there > in http://marc.info/?l=linux-kernel&m=123200623628685 > > How do you replace the oom killer's capability of giving a killed task > access to memory reserves with TIF_MEMDIE in userspace? /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. -- Evgeniy Polyakov