Subject: [folded-merged] mm-introduce-vm_ops-map_pages-fix.patch removed from -mm tree To: kirill@xxxxxxxxxxxxx,kirill.shutemov@xxxxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 07 Apr 2014 15:03:13 -0700 The patch titled Subject: mm: documentaton for do_set_pte() has been removed from the -mm tree. Its filename was mm-introduce-vm_ops-map_pages-fix.patch This patch was dropped because it was folded into mm-introduce-vm_ops-map_pages.patch ------------------------------------------------------ From: "Kirill A. Shutemov" <kirill@xxxxxxxxxxxxx> Subject: mm: documentaton for do_set_pte() do_set_pte() now exported to other compilation unit. Let's document interface. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memory.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff -puN mm/memory.c~mm-introduce-vm_ops-map_pages-fix mm/memory.c --- a/mm/memory.c~mm-introduce-vm_ops-map_pages-fix +++ a/mm/memory.c @@ -3318,7 +3318,21 @@ static int __do_fault(struct vm_area_str return ret; } - +/** + * do_set_pte - setup new PTE entry for given page and add reverse page mapping. + * + * @vma: virtual memory area + * @address: user virtual address + * @page: page to map + * @pte: pointer to target page table entry + * @write: true, if new entry is writable + * @anon: true, if it's anonymous page + * + * Caller must hold page table lock relevant for @pte. + * + * Target users are page handler itself and implementations of + * vm_ops->map_pages. + */ void do_set_pte(struct vm_area_struct *vma, unsigned long address, struct page *page, pte_t *pte, bool write, bool anon) { _ Patches currently in -mm which might be from kirill@xxxxxxxxxxxxx are mm-introduce-vm_ops-map_pages.patch mm-implement-map_pages-for-shmem-tmpfs.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