x86/mm: Get rid of VM_BUG_ON in switch_tlb_irqs_off()
authorAndy Lutomirski <[email protected]>
Fri, 8 Sep 2017 05:06:57 +0000 (22:06 -0700)
committerIngo Molnar <[email protected]>
Wed, 13 Sep 2017 07:50:52 +0000 (09:50 +0200)
commita376e7f99be7c1e15b2d986e49b2bec834904381
tree29c44ce51dd613763c98118d010910252f15ff5c
parent6d8ef53e8b2fed8b0f91df0c6da7cc92747d934a
x86/mm: Get rid of VM_BUG_ON in switch_tlb_irqs_off()

If we hit the VM_BUG_ON(), we're detecting a genuinely bad situation,
but we're very unlikely to get a useful call trace.

Make it a warning instead.

Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/3b4e06bbb382ca54a93218407c93925ff5871546.1504847163.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/mm/tlb.c