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

Re: [PATCH] fix for_each_cpu() again for NR_CPUS=1



On 31.03.2021 18:55, Dario Faggioli wrote:
> On Wed, 2021-03-31 at 16:52 +0200, Jan Beulich wrote:
>> Unfortunately aa50f45332f1 ("xen: fix for_each_cpu when NR_CPUS=1")
>> has
>> caused quite a bit of fallout with gcc10, e.g. (there are at least
>> two
>> more similar ones, and I didn't bother trying to find them all):
>>
> Oh, wow... Sorry about that. I was sure I had checked (and with gcc10),
> but clearly I'm wrong.

Perhaps you did try a debug build, while I was seeing the issues in
a non-debug one?

>> Re-instate a special form of for_each_cpu(), experimentally "proven"
>> to
>> avoid the diagnostics.
>>
>> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
>>
> Reviewed-by: Dario Faggioli <dfaggioli@xxxxxxxx>

Thanks.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.