Re: [patch 1/4] mmu_notifier: Core code

!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@...>, Nick Piggin <npiggin@...>, <kvm-devel@...>, Benjamin Herrenschmidt <benh@...>, Peter Zijlstra <a.p.zijlstra@...>, <steiner@...>, <linux-kernel@...>, <linux-mm@...>, <daniel.blueman@...>, Hugh Dickins <hugh@...>
Date: Friday, January 25, 2008 - 2:47 pm

On Fri, 25 Jan 2008, Robin Holt wrote:


We need to fix the next define to not use column 81.
Found a couple of more 80 column infractions. Will be fixed in next 
release.


The list head is in the mm_struct. This will be freed later.


Ok. We could switch this to mmap_sem protection for the mm_struct but the 
rmap notifier is not associated with an mm_struct. So we would need to 
keep it there. Since we already have a spinlock: Just use it for both to 
avoid further complications.


Peter already mentioned that and I have posted patches that address this 
issue.


There is only one call right now?


The TLB entries are removed by earlier invalidate_range calls. I would 
think that no TLBs are left at this point. Its simply a matter of 
releasing any still allocated resources through this callback.
 

So we need an additional global teardown call? Then we'd need to switch 
off the vma based invalidate_range()?

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

Messages in current thread:
[patch 1/4] mmu_notifier: Core code, Christoph Lameter, (Fri Jan 25, 1:56 am)
Re: [patch 1/4] mmu_notifier: Core code, Robin Holt, (Fri Jan 25, 2:39 pm)
Re: [patch 1/4] mmu_notifier: Core code, Christoph Lameter, (Fri Jan 25, 2:47 pm)
Re: [patch 1/4] mmu_notifier: Core code, Robin Holt, (Fri Jan 25, 2:56 pm)
Re: [patch 1/4] mmu_notifier: Core code, Christoph Lameter, (Fri Jan 25, 3:03 pm)
Re: [patch 1/4] mmu_notifier: Core code, Robin Holt, (Fri Jan 25, 3:35 pm)
Re: [patch 1/4] mmu_notifier: Core code, Christoph Lameter, (Fri Jan 25, 5:18 pm)
Re: [patch 1/4] mmu_notifier: Core code, Robin Holt, (Sat Jan 26, 8:01 am)
Re: [patch 1/4] mmu_notifier: Core code, Christoph Lameter, (Mon Jan 28, 2:44 pm)
Re: [patch 1/4] mmu_notifier: Core code, Christoph Lameter, (Fri Jan 25, 4:10 pm)
Re: [patch 1/4] mmu_notifier: Core code, Robin Holt, (Sat Jan 26, 7:56 am)
Re: [patch 1/4] mmu_notifier: Core code, Christoph Lameter, (Mon Jan 28, 2:51 pm)