aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/vmalloc.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-08-14 15:00:52 +0900
committerTejun Heo <tj@kernel.org>2009-08-14 15:00:52 +0900
commitcf88c79006bd6a09ad725ba0b34c0e23db20b19e (patch)
tree7c1467a7350a33c2986fb0bb08d733b02a3fd259 /include/linux/vmalloc.h
parentpercpu: add chunk->base_addr (diff)
downloadlinux-dev-cf88c79006bd6a09ad725ba0b34c0e23db20b19e.tar.xz
linux-dev-cf88c79006bd6a09ad725ba0b34c0e23db20b19e.zip
vmalloc: separate out insert_vmalloc_vm()
Separate out insert_vmalloc_vm() from __get_vm_area_node(). insert_vmalloc_vm() initializes vm_struct from vmap_area and inserts it into vmlist. insert_vmalloc_vm() only initializes fields which can be determined from @vm, @flags and @caller The rest should be initialized by the caller. For __get_vm_area_node(), all other fields just need to be cleared and this is done by using kzalloc instead of kmalloc. This will be used to implement pcpu_get_vm_areas(). Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Nick Piggin <npiggin@suse.de>
Diffstat (limited to 'include/linux/vmalloc.h')
0 files changed, 0 insertions, 0 deletions