Skip to content
Commit 4fa5cd52 authored by Con Kolivas's avatar Con Kolivas Committed by Ingo Molnar
Browse files

sched/core: Do not use smp_processor_id() with preempt enabled in smpboot_thread_fn()



We should not be using smp_processor_id() with preempt enabled.

Bug identified and fix provided by Alfred Chen.

Reported-by: default avatarAlfred Chen <cchalpha@gmail.com>
Signed-off-by: default avatarCon Kolivas <kernel@kolivas.org>
Cc: Alfred Chen <cchalpha@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/2042051.3vvUWIM0vs@hex


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent d59dc7bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment