]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vmalloc: use kzalloc() instead of alloc_bootmem()
authorPekka Enberg <penberg@cs.helsinki.fi>
Mon, 25 May 2009 12:01:35 +0000 (15:01 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Thu, 11 Jun 2009 16:17:05 +0000 (19:17 +0300)
commit43ebdac42f16037263b52a5aeedcd1bfa4a9bb29
tree8f288e9875418fbebd48f9bb31ac22ebae37838c
parent83b519e8b9572c319c8e0c615ee5dd7272856090
vmalloc: use kzalloc() instead of alloc_bootmem()

We can call vmalloc_init() after kmem_cache_init() and use kzalloc() instead of
the bootmem allocator when initializing vmalloc data structures.

Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Nick Piggin <npiggin@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
init/main.c
mm/vmalloc.c