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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux