Re: [PATCH v2 04/19] genirq: Add new struct ipi_mask and helper functions

From: Qais Yousef
Date: Mon Nov 30 2015 - 08:57:43 EST


On 11/30/2015 01:11 PM, Thomas Gleixner wrote:
On Mon, 30 Nov 2015, Qais Yousef wrote:

Yes it would be much better to reuse it but wouldn't the runtime checks
against nr_cpu_ids create problems especially when CPUMASK_ON_STACK is
defined?
nr_cpu_ids == find_last_bit(cpumask_bits(cpu_possible_mask),NR_CPUS) + 1;




OK. I can partially see your point. I can't see how the extra coprocessor bits will be set in cpu_possible_mask and whether this will affect normal linux operation (ie: will it think it can bring that cpu up or migrate irqs to it?).

Since you don't see an issue with it, it must be just a missing gap in my knowledge that I'll fill while doing this work.

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