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 <c...@braap.org> > > 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