Re: [patch] Workqueue Abstraction, 2.5.40-H7

Ingo Molnar
2002-10-01T21:15:00Z

On Tue, 1 Oct 2002, Jeff Garzik wrote:

> At the risk of being on-topic <g>, would it be reasonable to request a
> 2.4 version of this patch, that can be used in driver-compat code and
> vendor kernels? i.e. something that makes the workqueue API work in
> 2.4, no more, no less.

i've concentrated all the code into kernel/workqueue.c, and all the
interfaces into include/linux/workqueue.h - so you can simply copy those
into the 2.4 tree and it should just work. There should be no namespace
collision either. A O(1) scheduler tree is needed, due to
set_cpus_allowed(), but there is no other dependency i think.

Ingo