projects
/
linux-2.6-microblaze.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
[linux-2.6-microblaze.git]
/
mm
/
slab.c
diff --git
a/mm/slab.c
b/mm/slab.c
index
d9dec7a
..
b04e400
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;
}