Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Use kernel slab for vn_cache and vn_file_cache #599

Merged
merged 1 commit into from
Jan 31, 2017

Conversation

tuxoko
Copy link
Contributor

@tuxoko tuxoko commented Jan 31, 2017

Signed-off-by: Chunwei Chen [email protected]

Copy link
Contributor

@behlendorf behlendorf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. It'll be nice to get these allocations added to the standard kernel slab.

@behlendorf behlendorf merged commit 9704820 into openzfs:master Jan 31, 2017
behlendorf pushed a commit to behlendorf/spl that referenced this pull request Feb 3, 2017
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 <[email protected]>
Signed-off-by: Chunwei Chen <[email protected]>
Closes openzfs#599
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants