]> git.proxmox.com Git - mirror_spl-debian.git/commit
Use kernel slab for vn_cache and vn_file_cache
authorChunwei Chen <tuxoko@gmail.com>
Tue, 31 Jan 2017 21:44:01 +0000 (13:44 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Jan 2017 21:44:01 +0000 (13:44 -0800)
commit97048200f888afc0b1387bff75049cf37e9715bd
treec8b32caa621fd3833499165708f71fc5bcf2dca7
parent43b857fddb0aa0a2fef1e00c696a80056c6367a8
Use kernel slab for vn_cache and vn_file_cache

Resolve a false positive in the kmemleak checker by shifting to the
kernel slab.  It shows up because vn_file_cache is using KMC_KMEM
which is directly allocated using __get_free_pages, which is not
automatically tracked by kmemleak.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #599
module/spl/spl-vnode.c