Re: [ham] Re: Gracefully killing kswapd, or any kernel thread
From: Kristis Makris
Date: Fri Sep 09 2005 - 13:53:06 EST
On Wed, 2005-09-07 at 18:36 -0400, linux-os (Dick Johnson) wrote:
> On Wed, 7 Sep 2005, Kristis Makris wrote:
>
> >> To kill a kernel thread, you need to make __it__ call exit(). It must be
I was able to make it call do_exit(). However, even if I recompile a
kernel to have kswapd issued a do_exit(), I still see from ps:
root 4 0.0 0.0 0 0 ? Z 06:20 0:00 [kswapd
<defunct>]
Why isn't the task_struct for it gone ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/