lkml.org 
[lkml]   [2009]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux killed Kenny, bastard!
    On Mon, 12 Jan 2009 18:50:30 +0300
    Evgeniy Polyakov <zbr@ioremap.net> wrote:

    > On Mon, Jan 12, 2009 at 03:49:22PM +0000, Alan Cox (alan@lxorguk.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


    \
     
     \ /
      Last update: 2009-01-12 16:55    [W:0.033 / U:29.636 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site