From: David Woodhouse <dwmw2@infradead.org>
To: Andrew Morton <akpm@osdl.org>
Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC][PATCH] Kernel thread signal handling.
Date: Mon, 13 Oct 2003 13:30:00 +0100 [thread overview]
Message-ID: <1066048200.14783.25.camel@hades.cambridge.redhat.com> (raw)
In-Reply-To: <20031013051149.29da705a.akpm@osdl.org>
On Mon, 2003-10-13 at 05:11 -0700, Andrew Morton wrote:
> > daemonize("jffs2_gcd_mtd%d", c->mtd->index);
>
> And then what? Parse the output of ps(1)? Use pidof(8)?
Those work.
> Insufficient contrition detected :)
Hehe.
> Why cannot a procfs or sysfs control be used?
Mostly because I think that idea sucks, and partly because I think your
ire is misdirected -- it shouldn't be directed at kernel code which
handles signals, but rather at kernel code which sleeps in state
TASK_INTERRUPTIBLE but _doesn't_ handle signals.
On the other hand, if you ever find people actually trying to pass
_data_ to kernel threads with sys_rt_sigqueueinfo(), I'll be right
behind you with my own baseball bat waiting to bash the pieces you leave
behind :)
--
dwmw2
next prev parent reply other threads:[~2003-10-13 12:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-13 10:31 David Woodhouse
2003-10-13 11:02 ` Andrew Morton
2003-10-13 11:08 ` Russell King
2003-10-13 11:29 ` David Woodhouse
2003-10-13 11:21 ` David Woodhouse
2003-10-13 11:40 ` Andrew Morton
2003-10-13 11:55 ` David Woodhouse
2003-10-13 12:11 ` Andrew Morton
2003-10-13 12:30 ` David Woodhouse [this message]
2003-10-13 16:36 ` Linus Torvalds
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=1066048200.14783.25.camel@hades.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/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
all inboxes | Powered by JetHome®