Re: [PATCH 1 of 9] Lock the entire mm to prevent any mmu related operation to happen

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrea Arcangeli <andrea@...>
Cc: Robin Holt <holt@...>, <akpm@...>, Nick Piggin <npiggin@...>, Steve Wise <swise@...>, Peter Zijlstra <a.p.zijlstra@...>, <linux-mm@...>, Kanoj Sarcar <kanojsarcar@...>, Roland Dreier <rdreier@...>, Jack Steiner <steiner@...>, <linux-kernel@...>, Avi Kivity <avi@...>, <kvm-devel@...>, <general@...>, Hugh Dickins <hugh@...>
Date: Thursday, April 17, 2008 - 3:10 pm

On Thu, 17 Apr 2008, Andrea Arcangeli wrote:


EMM was/is using a single linked list which allows atomic updates. Looked 
cleaner to me since doubly linked list must update two pointers.

I have not seen docs on the locking so not sure why you use rcu 
operations here? Isnt the requirement to have either rmap locks or 
mmap_sem held enough to guarantee the consistency of the doubly linked list?


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

Messages in current thread:
[PATCH 0 of 9] mmu notifier #v12, Andrea Arcangeli, (Tue Apr 8, 11:44 am)
Re: [PATCH 0 of 9] mmu notifier #v12, Christoph Lameter, (Mon Apr 14, 7:09 pm)
Re: [PATCH 0 of 9] mmu notifier #v12, Robin Holt, (Wed Apr 9, 9:17 am)
Re: [PATCH 0 of 9] mmu notifier #v12, Andrea Arcangeli, (Wed Apr 9, 10:44 am)
Re: [PATCH 0 of 9] mmu notifier #v12, Robin Holt, (Wed Apr 9, 2:55 pm)
Re: [PATCH 0 of 9] mmu notifier #v12, Andrea Arcangeli, (Tue Apr 22, 3:20 am)
Re: [PATCH 0 of 9] mmu notifier #v12, Andrea Arcangeli, (Tue Apr 22, 8:00 am)
Re: [PATCH 0 of 9] mmu notifier #v12, Robin Holt, (Tue Apr 22, 9:01 am)
Re: [PATCH 0 of 9] mmu notifier #v12, Andrea Arcangeli, (Tue Apr 22, 9:21 am)
Re: [PATCH 0 of 9] mmu notifier #v12, Robin Holt, (Tue Apr 22, 9:36 am)
Re: [PATCH 0 of 9] mmu notifier #v12, Andrea Arcangeli, (Tue Apr 22, 9:48 am)
Re: [PATCH 0 of 9] mmu notifier #v12, Robin Holt, (Tue Apr 22, 11:26 am)
Re: [PATCH 0 of 9] mmu notifier #v12, Avi Kivity, (Tue Apr 8, 5:46 pm)
Re: [PATCH 0 of 9] mmu notifier #v12, Andrea Arcangeli, (Tue Apr 8, 6:06 pm)
Re: [PATCH 3 of 9] Moves all mmu notifier methods outside th..., Christoph Lameter, (Mon Apr 14, 3:57 pm)
[PATCH 2 of 9] Core of mmu notifiers, Andrea Arcangeli, (Tue Apr 8, 11:44 am)
Re: [PATCH 2 of 9] Core of mmu notifiers, Christoph Lameter, (Mon Apr 14, 3:59 pm)
Re: [PATCH 2 of 9] Core of mmu notifiers, Christoph Lameter, (Mon Apr 14, 3:57 pm)
Re: [PATCH 2 of 9] Core of mmu notifiers, Robin Holt, (Tue Apr 8, 12:26 pm)
Re: [PATCH 2 of 9] Core of mmu notifiers, Andrea Arcangeli, (Tue Apr 8, 1:05 pm)
Re: [PATCH 1 of 9] Lock the entire mm to prevent any mmu rel..., Andrea Arcangeli, (Fri Apr 25, 12:56 pm)
Re: [PATCH 1 of 9] Lock the entire mm to prevent any mmu rel..., Christoph Lameter, (Wed Apr 16, 2:35 pm)
Re: [PATCH 1 of 9] Lock the entire mm to prevent any mmu rel..., Andrea Arcangeli, (Thu Apr 17, 11:51 am)
Re: [PATCH 1 of 9] Lock the entire mm to prevent any mmu rel..., Christoph Lameter, (Thu Apr 17, 3:10 pm)
Re: [PATCH 1 of 9] Lock the entire mm to prevent any mmu rel..., Christoph Lameter, (Wed Apr 16, 3:15 pm)