[PATCH v3 2/3] nvmet_fc: Reduce work_q count

Christoph Hellwig hch at infradead.org
Tue May 23 00:15:28 PDT 2017


On Mon, May 22, 2017 at 03:28:43PM -0700, James Smart wrote:
> Instead of a work_q per controller queue, use system workqueues.
> Create "work lists" per cpu that driver ISR posts to and workqueue
> pulls from.

Why?  The whole point of workqueues is to avoid this sort of open coded
work lists in drivers.  To me it seems like you should simply make
the existing workqueue global, and maybe mark it as cpu itensive based
on profiling, but that's about it.



More information about the Linux-nvme mailing list