Re: [patch] smptimers, old BH removal, tq-cleanup, 2.5.39

Ingo Molnar
2002-09-30T16:22:58Z

On Mon, 30 Sep 2002, Christoph Hellwig wrote:

> But it breaks XFS. Chris Wedgwood fixed it to use schedule_task()
> instead (and I cleaned it up a littler more, see patch below), but this
> does effectively simgle-thead XFS I/O completion.

see the workqueues patch i posted a couple of minutes ago. Does this solve
XFS's problems?

> Altennatively we could allow kernel code to create it's own kevends with
> associated task-queues, but that sounds rather ugly..

why is it ugly? I can add a simple interface to the workqueues subsystem
that will bind the XFS worker threads to given sets of CPUs. That should
give you per-CPU workqueues, with separate per-CPU locking.

Ingo