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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Robin Holt
Date: Friday, January 25, 2008 - 11:56 am

On Fri, Jan 25, 2008 at 10:47:04AM -0800, Christoph Lameter wrote:

I meant the structure pointed to by &mn.  I assume it is intended that
structure be kmalloc'd as part of a larger structure.  The driver is the
entity which created that structure and should be the one to free it.


But now you are putting a global lock in where it is inappropriate.


What I was asking for is a way to avoid those numerous callouts for
drivers that can do early cleanup.


No, EXACTLY what I originally was asking for, either move this call site
up, introduce an additional mmu_notifier op, or place this one in two
locations with a flag indicating which call is being made.

Thanks,
Robin
--
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)