All of lore.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: Wed, 07 Sep 2005 14:07:12 -0700	[thread overview]
Message-ID: <1126127233.2743.25.camel@syd.mkgnu.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0509071554190.4695@chaos.analogic.com>

> To kill a kernel thread, you need to make __it__ call exit(). It must be

There must be another way to do it. Perhaps one could have another
process effectively issue the contents of do_exit for the kswapd
task_struct ?

> CODED to do that! You can't do it externally although you can send

I'm clearly asking for the case where the thread wasn't coded to do
that.

> it a signal, after which it will spin forever....

kflushd and keventd don't seem to spin forever. I still haven't
determined what makes kswapd spin forever after it receives the signal.



  reply	other threads:[~2005-09-07 21:07 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   ` Kristis Makris [this message]
2005-09-07 22:31     ` [ham] " Kyle Moffett
2005-09-07 22:36     ` linux-os (Dick Johnson)
2005-09-09 18:51       ` Kristis Makris
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=1126127233.2743.25.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.