The patch titled kernel/profile.c: use vzalloc() has been removed from the -mm tree. Its filename was kernel-profilec-use-vzalloc.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() From: Jesper Juhl <jj@xxxxxxxxxxxxx> There's no reason to memset() manually when we have vzalloc(). Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx> 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 kernel/profile.c --- a/kernel/profile.c~kernel-profilec-use-vzalloc +++ 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 jj@xxxxxxxxxxxxx are origin.patch linux-next.patch memcg-use-zalloc-rather-than-mallocmemset.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