lkml.org 
[lkml]   [2015]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 04/19] genirq: Add new struct ipi_mask and helper functions
From
Date
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


\
 
 \ /
  Last update: 2015-11-30 15:21    [W:0.045 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site