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

Jeremy Fitzhardinge
2009-02-19T00:17:46Z

Zachary Amsden wrote:
> 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.

Yeah. I'm not quite sure why it became out of line.

J