Re: [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Wednesday, February 27, 2008 - 3:35 pm

On Wed, 20 Feb 2008, Nick Piggin wrote:


Could you be specific? This refers to page migration? Hmmm... Guess we 
would need to inc the refcount there instead?


It was tested with the GRU and XPmem. Andrea also reported success.
 

There are 3 different drivers that can already use it but the code is 
complex and not easy to review. Skeletons are easy to allow people to get 
started with it.


zap_page_range() called from unmap_vmas().


That can be done in a variety of ways:

1. Change VM locking

2. Not handle file backed mappings (XPmem could work mostly in such a 
config)

3. Keep the refcount elevated until pages are freed in another execution 
context.


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

Messages in current thread:
[patch 2/6] mmu_notifier: Callbacks to invalidate address ..., Christoph Lameter, (Thu Feb 14, 11:49 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Sat Feb 16, 12:26 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Wed Feb 27, 3:23 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Wed Feb 27, 3:35 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Wed Feb 27, 3:39 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Wed Feb 27, 5:10 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Wed Feb 27, 5:14 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Wed Feb 27, 6:03 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Thu Feb 28, 11:43 am)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Thu Feb 28, 5:59 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Fri Feb 29, 12:55 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Fri Feb 29, 2:03 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Fri Feb 29, 2:29 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Fri Feb 29, 2:34 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Fri Feb 29, 3:12 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Mon Mar 3, 12:28 pm)
Re: [patch 2/6] mmu_notifier: Callbacks to invalidate addr ..., Christoph Lameter, (Tue Mar 4, 11:58 am)