Subject: [obsolete] mm-hugetlb-use-vma_resv_map-map-types-update-fix.patch removed from -mm tree To: akpm@xxxxxxxxxxxxxxxxxxxx,aneesh.kumar@xxxxxxxxxxxxxxxxxx,david@xxxxxxxxxxxxxxxxxxxxx,davidlohr@xxxxxx,iamjoonsoo.kim@xxxxxxx,n-horiguchi@xxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 03 Feb 2014 16:36:29 -0800 The patch titled Subject: mm-hugetlb-use-vma_resv_map-map-types-update-fix has been removed from the -mm tree. Its filename was mm-hugetlb-use-vma_resv_map-map-types-update-fix.patch This patch was dropped because it is obsolete ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-hugetlb-use-vma_resv_map-map-types-update-fix simplifications, per n-horiguchi Cc: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx> Cc: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> Cc: Davidlohr Bueso <davidlohr@xxxxxx> Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> Cc: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/hugetlb.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff -puN mm/hugetlb.c~mm-hugetlb-use-vma_resv_map-map-types-update-fix mm/hugetlb.c --- a/mm/hugetlb.c~mm-hugetlb-use-vma_resv_map-map-types-update-fix +++ a/mm/hugetlb.c @@ -426,10 +426,7 @@ static struct resv_map *vma_resv_map(str { VM_BUG_ON(!is_vm_hugetlb_page(vma)); if (vma->vm_flags & VM_MAYSHARE) { - struct address_space *mapping = vma->vm_file->f_mapping; - struct inode *inode = mapping->host; - - return inode_resv_map(inode); + return inode_resv_map(mapping->host); } else { return (struct resv_map *)(get_vma_private_data(vma) & @@ -2279,10 +2276,7 @@ static void hugetlb_vm_op_close(struct v unsigned long start; unsigned long end; - if (!resv) - return; - - if (is_vma_resv_set(vma, HPAGE_RESV_OWNER)) { + if (resv && is_vma_resv_set(vma, HPAGE_RESV_OWNER)) { start = vma_hugecache_offset(h, vma, vma->vm_start); end = vma_hugecache_offset(h, vma, vma->vm_end); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are arch-alpha-kernel-systblss-remove-debug-check.patch i-need-old-gcc.patch mm-swap-fix-race-on-swap_info-reuse-between-swapoff-and-swapon.patch numa-mem-hotplug-initialize-numa_kernel_nodes-in-numa_clear_kernel_node_hotplug-fix.patch input-route-kbd-leds-through-the-generic-leds-layer.patch ocfs2-fix-ocfs2_sync_file-if-filesystem-is-readonly-fix.patch mm.patch mm-hugetlb-improve-page-fault-scalability-fix.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-checkpatch-fixes.patch linux-next.patch linux-next-git-rejects.patch debugging-keep-track-of-page-owners.patch journal_add_journal_head-debug.patch kernel-forkc-export-kernel_thread-to-modules.patch mutex-subsystem-synchro-test-module.patch slab-leaks3-default-y.patch put_bh-debug.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