Re: [ham] Re: Gracefully killing kswapd, or any kernel thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux