diff options
author | Tejun Heo <tj@kernel.org> | 2009-08-14 15:00:52 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-08-14 15:00:52 +0900 |
commit | cf88c79006bd6a09ad725ba0b34c0e23db20b19e (patch) | |
tree | 7c1467a7350a33c2986fb0bb08d733b02a3fd259 /crypto/Kconfig | |
parent | bba174f5e03a40a4ab1c63a2272ea5530b98a067 (diff) | |
download | linux-cf88c79006bd6a09ad725ba0b34c0e23db20b19e.tar.bz2 |
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 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions