Commit ed9887b
nfsd: replace call_rcu by kfree_rcu for simple kmem_cache_free callback
Since SLOB was removed and since
commit 6c6c47b ("mm, slab: call kvfree_rcu_barrier() from kmem_cache_destroy()"),
it is not necessary to use call_rcu when the callback only performs
kmem_cache_free. Use kfree_rcu() directly.
The changes were made using Coccinelle.
Signed-off-by: Julia Lawall <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>1 parent a32442f commit ed9887b
1 file changed
+1
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | 575 | | |
583 | 576 | | |
584 | 577 | | |
585 | 578 | | |
586 | 579 | | |
587 | 580 | | |
588 | 581 | | |
589 | | - | |
| 582 | + | |
590 | 583 | | |
591 | 584 | | |
592 | 585 | | |
| |||
0 commit comments