All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/3] genriq/affinity: Make vectors allocation fair
@ 2019-08-12  9:57 ` Ming Lei
  0 siblings, 0 replies; 16+ messages in thread
From: Ming Lei @ 2019-08-12  9:57 UTC (permalink / raw)


Hi,

The 1st patch makes __irq_build_affinity_masks() more reliable, such as,
all nodes can be covered in the spread.

The 2nd patch spread vectors on node according to the ratio of this node's
CPU number to number of all remaining CPUs, then vectors assignment can
become more fair. Meantime, the warning report from Jon Derrick can be
fixed.

The 3rd patch enhances one warning check.

Please review & comment!


V2:
	- add patch3
	- start to allocate vectors from node with minimized CPU number,
	  then every node is guaranteed to be allocated at least one vector.
	- avoid cross node spread

Ming Lei (3):
  genirq/affinity: Improve __irq_build_affinity_masks()
  genirq/affinity: Spread vectors on node according to nr_cpu ratio
  genirq/affinity: Enhance warning check

 kernel/irq/affinity.c | 140 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 121 insertions(+), 19 deletions(-)

Cc: Jens Axboe <axboe at kernel.dk>
Cc: Christoph Hellwig <hch at lst.de>
Cc: Keith Busch <kbusch at kernel.org>
Cc: linux-nvme at lists.infradead.org,
Cc: Jon Derrick <jonathan.derrick at intel.com>
-- 
2.20.1

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-08-13 13:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-12  9:57 [PATCH V2 0/3] genriq/affinity: Make vectors allocation fair Ming Lei
2019-08-12  9:57 ` Ming Lei
2019-08-12  9:57 ` [PATCH V2 1/3] genirq/affinity: Improve __irq_build_affinity_masks() Ming Lei
2019-08-12  9:57   ` Ming Lei
2019-08-12  9:57 ` [PATCH V2 2/3] genirq/affinity: Spread vectors on node according to nr_cpu ratio Ming Lei
2019-08-12  9:57   ` Ming Lei
2019-08-12 15:27   ` Keith Busch
2019-08-12 15:27     ` Keith Busch
2019-08-13  7:41     ` Ming Lei
2019-08-13  7:41       ` Ming Lei
2019-08-13  9:26       ` Ming Lei
2019-08-13  9:26         ` Ming Lei
2019-08-13 13:25         ` Ming Lei
2019-08-13 13:25           ` Ming Lei
2019-08-12  9:57 ` [PATCH V2 3/3] genirq/affinity: Enhance warning check Ming Lei
2019-08-12  9:57   ` Ming Lei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.