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

From: Christoph Hellwig (hch@sgi.com)
Date: Mon Sep 30 2002 - 19:43:20 EST


On Mon, Sep 30, 2002 at 07:12:54PM +0200, Ingo Molnar wrote:
> > Not exactly. All your work on one queue is internally serialize. An
> > totally unserialized workqueue would be best for XFS.
>
> you can create as many queues as you wish - one per CPU for example. Or
> one per mounted fs per CPU.

Yeah. But adding a create_workqueue_per_cpu that has one queue and thead
per cpu to which queue_work dispatches would centralize the code needed
to manage that in one place instead of duplicating it over and over.

Sure both works, but IMHO hiding it behind a nice abstraction is much
better.

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



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:47 EST