Re: [PATCH 3/9] x86/paravirt: remove lazy mode in interrupts

Zachary Amsden
2009-02-19T00:02:34Z

On Wed, 2009-02-18 at 14:30 -0800, Jeremy Fitzhardinge wrote:
> From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
>
> 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