projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: remove all rcu head initializations
[firefly-linux-kernel-4.4.55.git]
/
mm
/
slob.c
diff --git
a/mm/slob.c
b/mm/slob.c
index 23631e2bb57af43c5cb577a75323cc9768798016..19d2e5d46724824864055612ddcda295f9871d4c 100644
(file)
--- a/
mm/slob.c
+++ b/
mm/slob.c
@@
-639,7
+639,6
@@
void kmem_cache_free(struct kmem_cache *c, void *b)
if (unlikely(c->flags & SLAB_DESTROY_BY_RCU)) {
struct slob_rcu *slob_rcu;
slob_rcu = b + (c->size - sizeof(struct slob_rcu));
- INIT_RCU_HEAD(&slob_rcu->head);
slob_rcu->size = c->size;
call_rcu(&slob_rcu->head, kmem_rcu_free);
} else {