The patch titled mm: allow pfnmap ->fault()s has been added to the -mm tree. Its filename is mm-allow-pfnmap-faults.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mm: allow pfnmap ->fault()s From: Nick Piggin <npiggin@xxxxxxx> Take out an assertion to allow ->fault handlers to service PFNMAP regions. This is required to reimplement .nopfn handlers with .fault handlers and subsequently remove nopfn. Signed-off-by: Nick Piggin <npiggin@xxxxxxx> Acked-by: Jes Sorensen <jes@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memory.c | 2 -- 1 file changed, 2 deletions(-) diff -puN mm/memory.c~mm-allow-pfnmap-faults mm/memory.c --- a/mm/memory.c~mm-allow-pfnmap-faults +++ a/mm/memory.c @@ -2290,8 +2290,6 @@ static int __do_fault(struct mm_struct * vmf.flags = flags; vmf.page = NULL; - BUG_ON(vma->vm_flags & VM_PFNMAP); - ret = vma->vm_ops->fault(vma, &vmf); if (unlikely(ret & (VM_FAULT_ERROR | VM_FAULT_NOPAGE))) return ret; _ Patches currently in -mm which might be from npiggin@xxxxxxx are linux-next.patch mm-allow-pfnmap-faults.patch mspec-convert-nopfn-to-fault.patch reiser4.patch likeliness-accounting-change-and-cleanup.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