[PATCH 4/7] blk-mq: allow the driver to pass in an affinity mask

Christoph Hellwig hch at lst.de
Thu Sep 1 01:46:24 PDT 2016


On Wed, Aug 31, 2016 at 12:38:53PM -0400, Keith Busch wrote:
> This can't be right. We have a single affinity mask for the entire
> set, but what I think we want is an one affinity mask for each
> nr_io_queues. The irq_create_affinity_mask should then create an array
> of cpumasks based on nr_vecs..

Nah, this is Thomas' creating abuse of the cpumask type.  Every bit set
in the affinity_mask means this is a cpu we allocate a vector / queue to.



More information about the Linux-nvme mailing list