]> git.proxmox.com Git - mirror_spl.git/commit
Remove get_vmalloc_info() wrapper
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 1 Oct 2014 22:05:39 +0000 (18:05 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 17 Oct 2014 22:11:51 +0000 (15:11 -0700)
commite1310afae3bdb17628b40c35561f2daedfaf4062
treec9d23ff519c714167fc06d9d73dc6d6a867e496a
parent50e41ab1e12f0b007239c55bfa77d02f6e8ba890
Remove get_vmalloc_info() wrapper

The get_vmalloc_info() function was used to back the vmem_size()
function.  This was always problematic and resulted in brittle
code because the kernel never provided a clean interface for
modules.

However, it turns out that the only caller of this function in
ZFS uses it to determine the total virtual address space size.
This can be determined easily without get_vmalloc_info() so
vmem_size() has been updated to take this approach which allows
us to shed the get_vmalloc_info() dependency.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
config/spl-build.m4
include/sys/vmsystm.h
module/spl/spl-kmem.c
module/splat/splat-kmem.c