Re: kswapd is killable

Colin Plumb (asethman@mandate-inc.com)
Mon, 18 Jan 1999 00:22:02 -0500 (EST)


Well here is the comments in mm/vmscan.c

/*
* Hey, if somebody wants to kill us, be our guest.
* Don't come running to mama if things don't work.
*/
siginitsetinv(&current->blocked, sigmask(SIGKILL));

So basically a word of advice...if you don't want it dead
don't be killing it...I guess there could be reasons as
to why you'd want to kill kswapd. I can't think of any
though. I guess if you want to defeat this "feature"
Just #if 0 out the siginitsetinv line in mm/vmscan.c

Aaron

On Sun, 17 Jan 1999, christophe leroy wrote:

> # kill -9 3
> # ps -aux
>
> USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
> root 1 3.2 1.1 832 264 ? S 11:57 0:03 init bo
> root 2 0.0 0.0 0 0 ? SW 11:57 0:00 (kflushd)
> root 3 0.0 0.0 0 0 ? Z 11:57 0:00 (kswapd
> <zombie>)
> root 4 0.0 0.0 0 0 ? SW 11:57 0:00
> (md_thread)
> root 5 0.5 2.9 1184 660 ? S 11:57 0:00 -bash
> root 25 0.0 1.7 888 380 ? R 11:59 0:00 ps -auxw
>
> christophe
>
> -
> 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/
>

-
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/