diff options
author | Neeraj Upadhyay <[email protected]> | 2018-09-05 11:22:07 +0530 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-09-06 15:21:37 +0200 |
commit | f8b7530aa0a1def79c93101216b5b17cf408a70a (patch) | |
tree | 8fec02ad4caba0c57a6a393069810831baaf4cdd /tools/perf/util/trace-event-scripting.c | |
parent | 60c1f89241d49bacf71035470684a8d7b4bb46ea (diff) |
cpu/hotplug: Adjust misplaced smb() in cpuhp_thread_fun()
The smp_mb() in cpuhp_thread_fun() is misplaced. It needs to be after the
load of st->should_run to prevent reordering of the later load/stores
w.r.t. the load of st->should_run.
Fixes: 4dddfb5faa61 ("smp/hotplug: Rewrite AP state machine core")
Signed-off-by: Neeraj Upadhyay <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions