lkml.org 
[lkml]   [2009]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/9] x86/paravirt: remove lazy mode in interrupts
From
Date
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



\
 
 \ /
  Last update: 2009-02-19 01:05    [W:0.771 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site