qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC 31/38] cpu: protect l1_map with tb_lock in full-sy


From: Emilio G. Cota
Subject: Re: [Qemu-devel] [RFC 31/38] cpu: protect l1_map with tb_lock in full-system mode
Date: Tue, 25 Aug 2015 17:54:19 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Aug 23, 2015 at 18:07:04 -0700, Paolo Bonzini wrote:
> On 23/08/2015 17:24, Emilio G. Cota wrote:
> > Note that user-only uses mmap_lock for this.
> > 
> > Signed-off-by: Emilio G. Cota <address@hidden>
> 
> Why is this needed?  The RCU-like page_find should work just fine.

Ouch, you're right, forgot about that. Patch 30, which adds the
tb_lock assertions, should change as well to only check for
have_tb_lock in page_find when alloc==1.

Thanks,

                Emilio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]