From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Christoph Hellwig <hch@caldera.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kthread abstraction, take two
Date: Sat, 09 Feb 2002 18:55:22 -0500 [thread overview]
Message-ID: <3C65B6EA.E2C1D123@mandrakesoft.com> (raw)
In-Reply-To: <20020209180305.A11717@caldera.de>
Christoph Hellwig wrote:
>
> This is a new version of the ktread abstraction which incorporates
> suggestions by Andi Kleen, Jeff Garzik and Andrew Morton.
>
> The changes are:
>
> - kthread_start now takes a void * for the user-data, so it doesn't
> have to be part of struct kthread.
> - the main method of struct kthread now returns an integers, if it
> is negative, the thread will be stopped.
> - kthread_main no more does the scheduling, it has to be done by
> the mainloop now.
Nice. I like it.
Would you consider converting a few places in the kernel to use kthread,
just as an example to show people what a sample implementation would
look like?
Jeff
--
Jeff Garzik | "I went through my candy like hot oatmeal
Building 1024 | through an internally-buttered weasel."
MandrakeSoft | - goats.com
next prev parent reply other threads:[~2002-02-09 23:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-09 17:03 [PATCH] kthread abstraction, take two Christoph Hellwig
2002-02-09 23:55 ` Jeff Garzik [this message]
2002-02-10 21:05 ` Pavel Machek
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=3C65B6EA.E2C1D123@mandrakesoft.com \
--to=jgarzik@mandrakesoft.com \
--cc=hch@caldera.de \
--cc=linux-kernel@vger.kernel.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