Re: [PATCH] net: sched: using kfree_rcu() to simplify the code

2019-02-18 Thread David Miller
From: Wei Yongjun Date: Sat, 16 Feb 2019 08:19:55 + > The callback function of call_rcu() just calls a kfree(), so we > can use kfree_rcu() instead of call_rcu() + callback function. > > Signed-off-by: Wei Yongjun Applied.

[PATCH] net: sched: using kfree_rcu() to simplify the code

2019-02-16 Thread Wei Yongjun
The callback function of call_rcu() just calls a kfree(), so we can use kfree_rcu() instead of call_rcu() + callback function. Signed-off-by: Wei Yongjun --- net/sched/sch_api.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c in