Re: [PATCH 1/2] kthread_create

From: Jeff Garzik
Date: Tue Dec 30 2003 - 23:36:08 EST


Rusty Russell wrote:
Hi all,

Ingo read through this before and liked it: this is the basis
of the Hotplug CPU patch, and as such has been stressed fairly well.
Tested stand-alone, and included here for wider review.


Hey, this is pretty cool.

Recalling threads from LKML past, there are two mechanisms I (and some others) felt were missing from the equally nifty workqueue stuff:
1) one-shot threads
2) keventd overflow

For #1, your patch seems to cover that nicely.

For #2, that's to be used for situations where (a) you need a thread context _and_ (b) you simply cannot wait for keventd to become available (since there are no time guarantees).

Anyway, thanks for doing this, it fills a need, I believe.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/