Re: [PATCH] mmu notifiers #v5

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robin Holt <holt@...>
Cc: Andrea Arcangeli <andrea@...>, Avi Kivity <avi@...>, Izik Eidus <izike@...>, <kvm-devel@...>, Peter Zijlstra <a.p.zijlstra@...>, <steiner@...>, <linux-kernel@...>, <linux-mm@...>, <daniel.blueman@...>
Date: Thursday, January 31, 2008 - 10:26 pm

On Thu, 31 Jan 2008, Robin Holt wrote:


Right this has to be something like rw spinlock. Its needed for both 
GRU/XPmem. Not sure about KVM.

Take the read lock for invalidate operations. These can occur 
concurrently. (Or a simpler implementation for the GRU may just use a 
spinlock).

The write lock must be held for populate operations.

Lock can be refined as needed by the notifier driver. F.e. locking could 
be restricted to certain ranges.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 0/3] [RFC] MMU Notifiers V4, Christoph Lameter, (Thu Jan 31, 12:57 am)
[PATCH] mmu notifiers #v5, Andrea Arcangeli, (Thu Jan 31, 1:18 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Thu Jan 31, 4:18 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Thu Jan 31, 7:28 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Thu Jan 31, 9:37 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Fri Feb 1, 8:00 am)
Re: [PATCH] mmu notifiers #v5, Robin Holt, (Thu Jan 31, 10:23 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Thu Jan 31, 10:26 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Thu Jan 31, 7:09 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Thu Jan 31, 7:41 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Thu Jan 31, 9:44 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Fri Feb 1, 8:09 am)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Fri Feb 1, 3:23 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Sat Feb 2, 10:17 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Mon Feb 4, 3:09 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Tue Feb 5, 1:25 am)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Tue Feb 5, 2:11 am)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Tue Feb 5, 2:08 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Tue Feb 5, 2:17 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Tue Feb 5, 4:55 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Tue Feb 5, 6:06 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Tue Feb 5, 6:26 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Tue Feb 5, 7:10 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Tue Feb 5, 7:47 pm)
Re: [PATCH] mmu notifiers #v5, Christoph Lameter, (Tue Feb 5, 8:04 pm)
Re: [PATCH] mmu notifiers #v5, Robin Holt, (Tue Feb 5, 6:12 pm)
Re: [PATCH] mmu notifiers #v5, Jack Steiner, (Sat Feb 2, 11:14 pm)
Re: [PATCH] mmu notifiers #v5, Andrea Arcangeli, (Sat Feb 2, 11:33 pm)