Re: [PATCH 3/9] x86/paravirt: remove lazy mode in interrupts
From: Zachary Amsden
Date: Wed Feb 18 2009 - 19:02:34 EST
On Wed, 2009-02-18 at 14:30 -0800, Jeremy Fitzhardinge wrote:
> From: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
>
> 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.
This looks like a good solution, but can you make paravirt_lazy_mode()
inline? It doesn't need to be a function call.
Zach
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/