Here's the new patch that uses Kirill's approach of setting write notifications on the VMA. I also included write notification cleanups and fixes per our discussion. Peter Feiner (3): mm: softdirty: enable write notifications on VMAs after VM_SOFTDIRTY cleared mm: mprotect: preserve special page protection bits mm: mmap: cleanup code that preserves special vm_page_prot bits fs/proc/task_mmu.c | 17 ++++++++++++++++- include/linux/mm.h | 15 +++++++++++++++ mm/mmap.c | 26 +++++++++++--------------- mm/mprotect.c | 2 +- 4 files changed, 43 insertions(+), 17 deletions(-) -- 2.1.0.rc2.206.gedb03e5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>