Re: [PATCH 3/7] revoke: core code

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pekka J Enberg <penberg@...>
Cc: <akpm@...>, <linux-kernel@...>, <hch@...>, <alan@...>, <serue@...>
Date: Friday, March 9, 2007 - 8:30 am

On Fri, 2007-03-09 at 10:15 +0200, Pekka J Enberg wrote:


Hmm, i_mmap_lock pins the vma and excludes modifications, but doesn't
exclude concurrent faults.

I guess its save.


I'm not sure this scheme works, given a sufficiently loaded machine,
this might never complete.


I'm never sure of operator precedence and prefer:

 (vma->vm_flags & VM_SHARED) && ...

which leaves no room for error.


Idem.



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

Messages in current thread:
[PATCH 3/7] revoke: core code, Pekka J Enberg, (Fri Mar 9, 4:15 am)
Re: [PATCH 3/7] revoke: core code, Peter Zijlstra, (Fri Mar 9, 8:30 am)
Re: [PATCH 3/7] revoke: core code, Pekka Enberg, (Sun Mar 11, 7:25 am)
Re: [PATCH 3/7] revoke: core code, Alan Cox, (Fri Mar 9, 8:17 am)
Re: [PATCH 3/7] revoke: core code, Pekka J Enberg, (Fri Mar 9, 7:42 am)