Skip to content
Commit 34b0900d authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

x86: warn if arch_flush_lazy_mmu_cpu is called in preemptible context



Impact: Catch cases where lazy MMU state is active in a preemtible context

arch_flush_lazy_mmu_cpu() has been changed to disable preemption so
the checks in enter/leave will never trigger. Put the preemtible()
check into arch_flush_lazy_mmu_cpu() to catch such cases.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent d85cf93d
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