Skip to contentSkip to conversation

mm-hugetlb-use-vma_resv_map-map-types-update-fix.patch removed from -mm tree

obsolete [email protected] 1 participant 1 message Feb 4, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [obsolete] mm-hugetlb-use-vma_resv_map-map-types-update-fix.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
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 <[email protected]>
Subject: mm-hugetlb-use-vma_resv_map-map-types-update-fix

simplifications, per n-horiguchi

Cc Aneesh Kumar K.V <[email protected]>
Cc David Gibson <[email protected]>
Cc Davidlohr Bueso <[email protected]>
Cc Joonsoo Kim <[email protected]>
Cc Naoya Horiguchi <[email protected]>

---

 mm/hugetlb.c |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
mm/hugetlb.c renamed from mm/hugetlb.c~mm-hugetlb-use-vma_resv_map-map-types-update-fix +2 -8
diff -puN mm/hugetlb.c~mm-hugetlb-use-vma_resv_map-map-types-update-fix 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 [email protected] 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