Cc: Robin Holt <holt@...>, <akpm@...>, Nick Piggin <npiggin@...>, Steve Wise <swise@...>, Peter Zijlstra <a.p.zijlstra@...>, <linux-mm@...>, Kanoj Sarcar <kanojsarcar@...>, Roland Dreier <rdreier@...>, Jack Steiner <steiner@...>, <linux-kernel@...>, Avi Kivity <avi@...>, <kvm-devel@...>, <general@...>, Hugh Dickins <hugh@...>
EMM was/is using a single linked list which allows atomic updates. Looked
cleaner to me since doubly linked list must update two pointers.
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?
--