Cc: Jack Steiner <steiner@...>, Nick Piggin <npiggin@...>, <akpm@...>, Robin Holt <holt@...>, Avi Kivity <avi@...>, Izik Eidus <izike@...>, <kvm-devel@...>, Peter Zijlstra <a.p.zijlstra@...>, <general@...>, Steve Wise <swise@...>, Roland Dreier <rdreier@...>, Kanoj Sarcar <kanojsarcar@...>, <linux-kernel@...>, <linux-mm@...>, <daniel.blueman@...>
On Thu, Feb 28, 2008 at 05:03:01PM -0800, Christoph Lameter wrote:
Sure. _notify is happening inside the pt lock by coincidence, to
reduce the changes to mm/* as long as the mmu notifiers aren't
sleep capable.
Converting it to invalidate_range_begin/end.
No trouble, it's just that I didn't want to mangle over the logic of
do_wp_page unless it was strictly required, the patch has to be
obviously safe. You need to keep that bit of your patch to make the
mmu notifiers sleepable.
--