|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] linux-2.6.18/evtchn: clear secondary CPUs' cpu_e
On 16/11/2010 01:28, "Jeremy Fitzhardinge" <jeremy@xxxxxxxx> wrote:
> On 11/15/2010 08:56 AM, Jan Beulich wrote:
>> memset(cpu_evtchn, 0, sizeof(cpu_evtchn));
>> - memset(cpu_evtchn_mask[0], ~0, sizeof(cpu_evtchn_mask[0]));
>> + for_each_possible_cpu(i)
>> + memset(cpu_evtchn_mask[i], -!i, sizeof(cpu_evtchn_mask[i]));
>
> -!i? Really? Golf-clap and all, but I think something a bit more
> explicit would be better ;)
I'm going to clarify that bit when I apply to 2.6.18. :-)
-- Keir
> J
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|