diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-11-19 20:37:53 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-11-23 10:29:08 +0100 |
commit | 51a96c77815e7f139892a6e9c8275a50e9baebdf (patch) | |
tree | 64388fce480b43d0588d108da9e4c526421486cf /kernel/perf_event.c | |
parent | 2e01f4740a874b6085da6ebf541e7ffde9a72bf2 (diff) | |
download | linux-stable-51a96c77815e7f139892a6e9c8275a50e9baebdf.tar.gz linux-stable-51a96c77815e7f139892a6e9c8275a50e9baebdf.tar.bz2 linux-stable-51a96c77815e7f139892a6e9c8275a50e9baebdf.zip |
cpu: Remove incorrect BUG_ON
Oleg mentioned that there is no actual guarantee the dying cpu's
migration thread is actually finished running when we get there, so
replace the BUG_ON() with a spinloop waiting for it.
Reported-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions