https://github.com/torvalds/linux
Revision f8b7530aa0a1def79c93101216b5b17cf408a70a authored by Neeraj Upadhyay on 05 September 2018, 05:52:07 UTC, committed by Thomas Gleixner on 06 September 2018, 13:21:37 UTC
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 <neeraju@codeaurora.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infraded.org>
Cc: josh@joshtriplett.org
Cc: peterz@infradead.org
Cc: jiangshanlai@gmail.com
Cc: dzickus@redhat.com
Cc: brendan.jackman@arm.com
Cc: malat@debian.org
Cc: mojha@codeaurora.org
Cc: sramana@codeaurora.org
Cc: linux-arm-msm@vger.kernel.org
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/1536126727-11629-1-git-send-email-neeraju@codeaurora.org

1 parent 60c1f89
History
Tip revision: f8b7530aa0a1def79c93101216b5b17cf408a70a authored by Neeraj Upadhyay on 05 September 2018, 05:52:07 UTC
cpu/hotplug: Adjust misplaced smb() in cpuhp_thread_fun()
Tip revision: f8b7530

back to top