- vmalloc-optimization-cleanup-bugfixes-tweak.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     vmalloc-optimization-cleanup-bugfixes-tweak
has been removed from the -mm tree.  Its filename was
     vmalloc-optimization-cleanup-bugfixes-tweak.patch

This patch was dropped because it was folded into vmalloc-optimization-cleanup-bugfixes.patch

------------------------------------------------------
Subject: vmalloc-optimization-cleanup-bugfixes-tweak
From: Andrew Morton <akpm@xxxxxxxx>

We'll get a nice reliable oops if that pointer is NULL, so the BUG_ON()
doesn't add anything. 

Cc: Eric Dumazet <dada1@xxxxxxxxxxxxx>
Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 mm/vmalloc.c |    2 --
 1 file changed, 2 deletions(-)

diff -puN mm/vmalloc.c~vmalloc-optimization-cleanup-bugfixes-tweak mm/vmalloc.c
--- a/mm/vmalloc.c~vmalloc-optimization-cleanup-bugfixes-tweak
+++ a/mm/vmalloc.c
@@ -533,7 +533,6 @@ void *vmalloc_user(unsigned long size)
 	if (ret) {
 		write_lock(&vmlist_lock);
 		area = __find_vm_area(ret);
-		BUG_ON(!area);
 		area->flags |= VM_USERMAP;
 		write_unlock(&vmlist_lock);
 	}
@@ -608,7 +607,6 @@ void *vmalloc_32_user(unsigned long size
 	if (ret) {
 		write_lock(&vmlist_lock);
 		area = __find_vm_area(ret);
-		BUG_ON(!area);
 		area->flags |= VM_USERMAP;
 		write_unlock(&vmlist_lock);
 	}
_

Patches currently in -mm which might be from akpm@xxxxxxxx are

origin.patch
vmalloc-optimization-cleanup-bugfixes.patch
vmalloc-optimization-cleanup-bugfixes-tweak.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux