From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zachary Amsden Subject: Re: lazy mmu and interrupts Date: Wed, 28 Mar 2007 15:12:23 -0800 Message-ID: <460AF657.6030902@vmware.com> References: <460AA5DA.2090203@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <460AA5DA.2090203@goop.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Jeremy Fitzhardinge Cc: Virtualization Mailing List List-Id: virtualization@lists.linuxfoundation.org Jeremy Fitzhardinge wrote: > Do you disable interrupts when lazy_mmu is active? Otherwise, it seems > to me that drivers will have problems using kmap_atomic() within an > interrupt routine... > = Yup, that's a pretty serious bug. Looks like the lazy mmu code needs to = save and restore interrupts, or alternatively, have kmap_atomic turn off = lazy_mmu if it is enabled. Zach