Re: [PATCH 4/8] genirq/affinity: assign vectors to all present CPUs

From: Sagi Grimberg
Date: Sun Jun 04 2017 - 11:17:22 EST




On 03/06/17 17:03, Christoph Hellwig wrote:
Currently we only assign spread vectors to online CPUs, which ties the
IRQ mapping to the currently online devices and doesn't deal nicely with
the fact that CPUs could come and go rapidly due to e.g. power management.

Instead assign vectors to all present CPUs to avoid this churn.

For this we have to build a map of all possible CPUs for a give node, as

s/give/given/

Reviewed-by: Sagi Grimberg <sagi@xxxxxxxxxxx>