public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kristis Makris <kristis.makris@asu.edu>
To: "linux-os (Dick Johnson)" <linux-os@analogic.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [ham] Re: Gracefully killing kswapd, or any kernel thread
Date: Fri, 09 Sep 2005 11:51:40 -0700	[thread overview]
Message-ID: <1126291900.2725.4.camel@syd.mkgnu.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0509071826180.4951@chaos.analogic.com>

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 ?



  reply	other threads:[~2005-09-09 18:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-07 19:41 Gracefully killing kswapd, or any kernel thread Kristis Makris
2005-09-07 20:08 ` linux-os (Dick Johnson)
2005-09-07 21:07   ` [ham] " Kristis Makris
2005-09-07 22:31     ` Kyle Moffett
2005-09-07 22:36     ` linux-os (Dick Johnson)
2005-09-09 18:51       ` Kristis Makris [this message]
2005-09-09 19:20         ` linux-os (Dick Johnson)
2005-09-09 22:20           ` Kristis Makris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1126291900.2725.4.camel@syd.mkgnu.net \
    --to=kristis.makris@asu.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-os@analogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox