]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm: Get rid of VM_BUG_ON in switch_tlb_irqs_off()
authorAndy Lutomirski <luto@kernel.org>
Fri, 8 Sep 2017 05:06:57 +0000 (22:06 -0700)
committerIngo Molnar <mingo@kernel.org>
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 <luto@kernel.org>
Cc: Borislav Petkov <bpetkov@suse.de>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/3b4e06bbb382ca54a93218407c93925ff5871546.1504847163.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/tlb.c