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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Friday, January 25, 2008 - 12:03 pm

On Fri, 25 Jan 2008, Robin Holt wrote:


mn will be pointing to the listhead in the mm_struct one after the other. 
You mean the ops structure?


The lock is only used during register and unregister. Very low level 
usage.


Add a new invalidate_all() call? Then on exit we do

1. invalidate_all()

2. invalidate_range() for each vma

3. release()

We cannot simply move the call up because there will be future range 
callbacks on vma invalidation.


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

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