lkml.org 
[lkml]   [1999]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: oom() _still_ killing init
    On Fri, 18 Jun 1999, Urban Widmark wrote:

    >Does Rik's patch also spare the X server?

    I still have to look into Rik's patch, but I just checked that we don't
    have a bitflag in the task struct to account if the task is running in a
    privilegied level (we only raise the two bits in eflags in sys_iopl).

    >Perhaps a special handling of some other processes should be added (init,
    >kflushd?, kpiod?, kswapd?, ...). 0 points does not mean that it can't be

    kflushd/kpiod/kswapd can't be killed just now with my simply OOM killer
    because their total_vm is 0.

    I agree that we should not send a SIGKILL to iopl() tasks. But we may send
    them a recoverable sigbus instead of a SIGKILL, no DoS troubles since a
    iopl task is just able to crash the machine without having to allocing
    memory :).

    Andrea Arcangeli


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:52    [W:2.660 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site