Re: [PATCH 0/2] incorrect cpumask behavior with CPUMASK_OFFSTACK

2015-03-02 Thread Rusty Russell
Oleg Drokin writes: >>> The second patch that I am not sure if we wnat, but it seems to be useful >>> until struct cpumask is fully dynamic is to convert what looks like >>> whole-set operations e.g. copies, namely: >>> cpumask_setall, cpumask_clear, cpumask_copy to always operate on NR_CPUS >>>

Re: [PATCH 0/2] incorrect cpumask behavior with CPUMASK_OFFSTACK

2015-03-02 Thread Rusty Russell
Oleg Drokin gr...@linuxhacker.ru writes: The second patch that I am not sure if we wnat, but it seems to be useful until struct cpumask is fully dynamic is to convert what looks like whole-set operations e.g. copies, namely: cpumask_setall, cpumask_clear, cpumask_copy to always operate on

Re: [PATCH 0/2] incorrect cpumask behavior with CPUMASK_OFFSTACK

2015-02-27 Thread Oleg Drokin
Hello! On Feb 27, 2015, at 6:46 AM, Rusty Russell wrote: > gr...@linuxhacker.ru writes: >> From: Oleg Drokin >> >> I just got a report today from Tyson Whitehead >> that Lustre crashes when CPUMASK_OFFSTACK is enabled. >> >> A little investigation revealed that this code: >>cpumask_t

Re: [PATCH 0/2] incorrect cpumask behavior with CPUMASK_OFFSTACK

2015-02-27 Thread Rusty Russell
gr...@linuxhacker.ru writes: > From: Oleg Drokin > > I just got a report today from Tyson Whitehead > that Lustre crashes when CPUMASK_OFFSTACK is enabled. > > A little investigation revealed that this code: > cpumask_t mask; > ... > cpumask_copy(,

Re: [PATCH 0/2] incorrect cpumask behavior with CPUMASK_OFFSTACK

2015-02-27 Thread Oleg Drokin
Hello! On Feb 27, 2015, at 6:46 AM, Rusty Russell wrote: gr...@linuxhacker.ru writes: From: Oleg Drokin gr...@linuxhacker.ru I just got a report today from Tyson Whitehead twhiteh...@gmail.com that Lustre crashes when CPUMASK_OFFSTACK is enabled. A little investigation revealed that

Re: [PATCH 0/2] incorrect cpumask behavior with CPUMASK_OFFSTACK

2015-02-27 Thread Rusty Russell
gr...@linuxhacker.ru writes: From: Oleg Drokin gr...@linuxhacker.ru I just got a report today from Tyson Whitehead twhiteh...@gmail.com that Lustre crashes when CPUMASK_OFFSTACK is enabled. A little investigation revealed that this code: cpumask_t mask; ...

[PATCH 0/2] incorrect cpumask behavior with CPUMASK_OFFSTACK

2015-02-25 Thread green
From: Oleg Drokin I just got a report today from Tyson Whitehead that Lustre crashes when CPUMASK_OFFSTACK is enabled. A little investigation revealed that this code: cpumask_t mask; ... cpumask_copy(, topology_thread_cpumask(0)); weight =

[PATCH 0/2] incorrect cpumask behavior with CPUMASK_OFFSTACK

2015-02-25 Thread green
From: Oleg Drokin gr...@linuxhacker.ru I just got a report today from Tyson Whitehead twhiteh...@gmail.com that Lustre crashes when CPUMASK_OFFSTACK is enabled. A little investigation revealed that this code: cpumask_t mask; ... cpumask_copy(mask,