Messages in this thread | | | Date | Fri, 18 Apr 2008 00:16:55 +0200 | From | Andrea Arcangeli <> | Subject | Re: [PATCH 1 of 9] Lock the entire mm to prevent any mmu related operation to happen |
| |
On Thu, Apr 17, 2008 at 12:10:52PM -0700, Christoph Lameter wrote: > EMM was/is using a single linked list which allows atomic updates. Looked > cleaner to me since doubly linked list must update two pointers.
Cleaner would be if it would provide an abstraction in list.h. The important is the memory taken by the head for this usage.
> I have not seen docs on the locking so not sure why you use rcu > operations here? Isnt the requirement to have either rmap locks or > mmap_sem held enough to guarantee the consistency of the doubly linked list?
Yes, exactly, I'm not using rcu anymore.
| |