The patch titled mm: debug write deadlocks has been added to the -mm tree. Its filename is mm-only-mm-debug-write-deadlocks.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: mm: debug write deadlocks From: Nick Piggin <npiggin@xxxxxxx> Allow CONFIG_DEBUG_VM to switch off the prefaulting logic, to simulate the Makes the race much easier to hit. This probably needn't go upstream. Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- mm/filemap.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN mm/filemap.c~mm-only-mm-debug-write-deadlocks mm/filemap.c --- a/mm/filemap.c~mm-only-mm-debug-write-deadlocks +++ a/mm/filemap.c @@ -2104,6 +2104,7 @@ generic_file_buffered_write(struct kiocb if (maxlen > bytes) maxlen = bytes; +#ifndef CONFIG_DEBUG_VM /* * Bring in the user page that we will copy from _first_. * Otherwise there's a nasty deadlock on copying from the @@ -2111,6 +2112,7 @@ generic_file_buffered_write(struct kiocb * up-to-date. */ fault_in_pages_readable(buf, maxlen); +#endif page = __grab_cache_page(mapping,index,&cached_page,&lru_pvec); if (!page) { _ Patches currently in -mm which might be from npiggin@xxxxxxx are mm-comment-mmap_sem--lock_page-lockorder.patch mm-only-mm-debug-write-deadlocks.patch mm-pagecache-write-deadlocks.patch oom-dont-kill-unkillable-children-or-siblings.patch oom-cleanup-messages.patch oom-less-memdie.patch mm-incorrect-vm_fault_oom-returns-from-drivers.patch mm-add-arch_alloc_page.patch radix-tree-rcu-lockless-readside.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html