Re: [PATCH 0/4 V2] Use get_online_cpus to avoid races involving CPU hotplug

2012-09-04 Thread Silas Boyd-Wickizer
Hi Rusty, I used libsparse and kernel source annotations to check that code uses for_each_online_cpu in contexts with hotplug disabled (e.g. get_online_cpus(), preempt_disable, ..). I compiled with an x86 64-bit allyesconfig, so I missed other architecture specific usages. The checker code isn't

Re: [PATCH 0/4 V2] Use get_online_cpus to avoid races involving CPU hotplug

2012-09-01 Thread Rusty Russell
Silas Boyd-Wickizer writes: > Hello, > > This is the second version of the patches to fix races described in: > > https://groups.google.com/forum/?fromgroups#!topic/linux.kernel/iSUDr94Qehc > > The changes in this version are: > > * fix commit log typo; > * prevent a race in via_cputemp_exi

[PATCH 0/4 V2] Use get_online_cpus to avoid races involving CPU hotplug

2012-08-03 Thread Silas Boyd-Wickizer
Hello, This is the second version of the patches to fix races described in: https://groups.google.com/forum/?fromgroups#!topic/linux.kernel/iSUDr94Qehc The changes in this version are: * fix commit log typo; * prevent a race in via_cputemp_exit; * and a new patch that prevents races dur