Skip to content
Commit b023ec00 authored by Ingo Molnar's avatar Ingo Molnar Committed by Bruce Ashfield
Browse files

mm/vmstat: Protect per cpu variables with preempt disable on RT



Disable preemption on -RT for the vmstat code. On vanila the code runs in
IRQ-off regions while on -RT it is not. "preempt_disable" ensures that the
same ressources is not updated in parallel due to preemption.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 7aa1cfa3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment