[merged] kernel-profilec-use-vzalloc-instead-of-vmallocmemset.patch removed from -mm tree

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

 



The patch titled
     kernel/profile.c: use vzalloc instead of vmalloc+memset
has been removed from the -mm tree.  Its filename was
     kernel-profilec-use-vzalloc-instead-of-vmallocmemset.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: kernel/profile.c: use vzalloc instead of vmalloc+memset
From: Rakib Mullick <rakib.mullick@xxxxxxxxx>

Signed-off-by: Rakib Mullick <rakib.mullick@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/profile.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff -puN kernel/profile.c~kernel-profilec-use-vzalloc-instead-of-vmallocmemset kernel/profile.c
--- a/kernel/profile.c~kernel-profilec-use-vzalloc-instead-of-vmallocmemset
+++ a/kernel/profile.c
@@ -126,11 +126,9 @@ int __ref profile_init(void)
 	if (prof_buffer)
 		return 0;
 
-	prof_buffer = vmalloc(buffer_bytes);
-	if (prof_buffer) {
-		memset(prof_buffer, 0, buffer_bytes);
+	prof_buffer = vzalloc(buffer_bytes);
+	if (prof_buffer)
 		return 0;
-	}
 
 	free_cpumask_var(prof_cpu_mask);
 	return -ENOMEM;
_

Patches currently in -mm which might be from rakib.mullick@xxxxxxxxx are

origin.patch
drivers-char-mspecc-use-kvzalloc-to-allocate-memory.patch
kernel-profilec-remove-some-duplicate-code-from-profile_hits.patch
kernel-profilec-remove-some-duplicate-code-from-profile_hits-fix.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