]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/paravirt: remove lazy mode in interrupts
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Wed, 18 Feb 2009 07:05:19 +0000 (23:05 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 30 Mar 2009 06:35:38 +0000 (23:35 -0700)
commitb8bcfe997e46150fedcc3f5b26b846400122fdd9
tree435f1bdfa3317e13ddcd3b87176602b597639c1b
parenta8a93f3f03b7a8008d720e8d91798efe599d416c
x86/paravirt: remove lazy mode in interrupts

Impact: simplification, robustness

Make paravirt_lazy_mode() always return PARAVIRT_LAZY_NONE
when in an interrupt.  This prevents interrupt code from
accidentally inheriting an outer lazy state, and instead
does everything synchronously.  Outer batched operations
are left deferred.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/paravirt.c
arch/x86/mm/fault.c
arch/x86/mm/highmem_32.c
arch/x86/mm/iomap_32.c
arch/x86/mm/pageattr.c