[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090112155239.5f677a17@lxorguk.ukuu.org.uk>
Date: Mon, 12 Jan 2009 15:52:39 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Evgeniy Polyakov <zbr@...emap.net>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: Linux killed Kenny, bastard!
On Mon, 12 Jan 2009 18:50:30 +0300
Evgeniy Polyakov <zbr@...emap.net> wrote:
> On Mon, Jan 12, 2009 at 03:49:22PM +0000, Alan Cox (alan@...rguk.ukuu.org.uk) wrote:
> > > Do you want to own a tame killer? Do you want to control the world?
> >
> > We've got /proc/*/oom_adj already
>
> Which has to be checked for every process ever created,
> which is quite unfeasible in some conditions.
The task name is not a reliable indicator of true name and truncated so
is useless. You only nominate one task, you don't integrate with the
existing interface.
What you actually need is notifiers to work on /proc (exactly the same as
we need to avoid the bogus waitfd crap). At that point you can implement
arbitary policy by using dnotify/inotify/etc on /proc.
Alan
--
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