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

From: Jeremy Fitzhardinge
Date: Wed Feb 18 2009 - 19:17:47 EST


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

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

J

--
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/