Re: kswapd is killable

Andrea Arcangeli (andrea@e-mind.com)
Mon, 18 Jan 1999 01:39:52 +0100 (CET)


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

This is a behavior want by Linus I guess. But since the init scripts are
used to send a SIGTERM and SIGKILL I think it's better to have it
unkillable. Sync with my latest arca-vm-24 and you'll have it unkillable.
kswapd will flush signals every second. If you send a signal to it, you'll
wakeup it though.

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/