git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: kfence: fix missing objcg housekeeping for SLAB
[sfrench/cifs-2.6.git]
/
mm
/
slab.c
diff --git
a/mm/slab.c
b/mm/slab.c
index d9dec7a8fd79bfecc02aff59087e6a645c86e80f..b04e40078bdf7d63e540fe20da21049b00779d3a 100644
(file)
--- a/
mm/slab.c
+++ b/
mm/slab.c
@@
-3422,6
+3422,7
@@
static __always_inline void __cache_free(struct kmem_cache *cachep, void *objp,
if (is_kfence_address(objp)) {
kmemleak_free_recursive(objp, cachep->flags);
+ memcg_slab_free_hook(cachep, &objp, 1);
__kfence_free(objp);
return;
}