Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-05-03 Thread ethan zhao
Borislav, On 2015/5/3 17:37, Borislav Petkov wrote: On Fri, May 01, 2015 at 02:03:48PM +0800, Ethan Zhao wrote: For the record, it is a public secret that CPU hotplug is broken. IOW, you're wasting your time with those senseless pounder tests but ok. :<, Someone else is stressing the CPU

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-05-03 Thread Borislav Petkov
On Fri, May 01, 2015 at 02:03:48PM +0800, Ethan Zhao wrote: > > For the record, it is a public secret that CPU hotplug is broken. IOW, > > you're wasting your time with those senseless pounder tests but ok. > > :<, Someone else is stressing the CPU hotplug, seems it is fragile. > My job is

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-05-03 Thread ethan zhao
Borislav, On 2015/5/3 17:37, Borislav Petkov wrote: On Fri, May 01, 2015 at 02:03:48PM +0800, Ethan Zhao wrote: For the record, it is a public secret that CPU hotplug is broken. IOW, you're wasting your time with those senseless pounder tests but ok. :, Someone else is stressing the CPU

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-05-03 Thread Borislav Petkov
On Fri, May 01, 2015 at 02:03:48PM +0800, Ethan Zhao wrote: For the record, it is a public secret that CPU hotplug is broken. IOW, you're wasting your time with those senseless pounder tests but ok. :, Someone else is stressing the CPU hotplug, seems it is fragile. My job is holding the

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-05-01 Thread Ethan Zhao
On Fri, May 1, 2015 at 12:29 AM, Borislav Petkov wrote: > On Thu, Apr 30, 2015 at 12:04:53AM +0900, Ethan Zhao wrote: >> while testing CPU hotplug and MCE with following two scripts, >> >> script 1: >> >> for i in {1..30}; do while :; do ((a=$RANDOM%160)); echo 0 >> >>

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-05-01 Thread Ethan Zhao
On Fri, May 1, 2015 at 12:29 AM, Borislav Petkov b...@alien8.de wrote: On Thu, Apr 30, 2015 at 12:04:53AM +0900, Ethan Zhao wrote: while testing CPU hotplug and MCE with following two scripts, script 1: for i in {1..30}; do while :; do ((a=$RANDOM%160)); echo 0

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-04-30 Thread Ethan Zhao
On Fri, May 1, 2015 at 12:29 AM, Borislav Petkov wrote: > On Thu, Apr 30, 2015 at 12:04:53AM +0900, Ethan Zhao wrote: >> while testing CPU hotplug and MCE with following two scripts, >> >> script 1: >> >> for i in {1..30}; do while :; do ((a=$RANDOM%160)); echo 0 >> >>

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-04-30 Thread Borislav Petkov
On Thu, Apr 30, 2015 at 12:04:53AM +0900, Ethan Zhao wrote: > while testing CPU hotplug and MCE with following two scripts, > > script 1: > > for i in {1..30}; do while :; do ((a=$RANDOM%160)); echo 0 >> > /sys/devices/system/cpu/cpu${i}/online; echo 1 >> >

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-04-30 Thread Borislav Petkov
On Thu, Apr 30, 2015 at 12:04:53AM +0900, Ethan Zhao wrote: while testing CPU hotplug and MCE with following two scripts, script 1: for i in {1..30}; do while :; do ((a=$RANDOM%160)); echo 0 /sys/devices/system/cpu/cpu${i}/online; echo 1 /sys/devices/system/cpu/cpu${i}/online; done

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-04-30 Thread Ethan Zhao
On Fri, May 1, 2015 at 12:29 AM, Borislav Petkov b...@alien8.de wrote: On Thu, Apr 30, 2015 at 12:04:53AM +0900, Ethan Zhao wrote: while testing CPU hotplug and MCE with following two scripts, script 1: for i in {1..30}; do while :; do ((a=$RANDOM%160)); echo 0

[PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-04-29 Thread Ethan Zhao
while testing CPU hotplug and MCE with following two scripts, script 1: for i in {1..30}; do while :; do ((a=$RANDOM%160)); echo 0 >> /sys/devices/system/cpu/cpu${i}/online; echo 1 >> /sys/devices/system/cpu/cpu${i}/online; done & done script 2: while :; do for i in $(ls

[PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-04-29 Thread Ethan Zhao
while testing CPU hotplug and MCE with following two scripts, script 1: for i in {1..30}; do while :; do ((a=$RANDOM%160)); echo 0 /sys/devices/system/cpu/cpu${i}/online; echo 1 /sys/devices/system/cpu/cpu${i}/online; done done script 2: while :; do for i in $(ls