From: Paul E. McKenney <hidden> Date: 2012-02-01 19:54:38
From: "Paul E. McKenney" <redacted>
The call_rcu() in do_ip_setsockopt() invokes opt_kfree_rcu(), which just
calls kfree(). So convert the call_rcu() to kfree_rcu(), which allows
opt_kfree_rcu() to be eliminated.
Signed-off-by: Paul E. McKenney <redacted>
Signed-off-by: Paul E. McKenney <redacted>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexey Kuznetsov <redacted>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <redacted>
Cc: Patrick McHardy <redacted>
Cc: netdev@vger.kernel.org
---
net/ipv4/ip_sockglue.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
From: David Miller <davem@davemloft.net> Date: 2012-02-01 19:55:55
From: "Paul E. McKenney" <redacted>
Date: Wed, 1 Feb 2012 11:41:28 -0800
From: "Paul E. McKenney" <redacted>
The call_rcu() in do_ip_setsockopt() invokes opt_kfree_rcu(), which just
calls kfree(). So convert the call_rcu() to kfree_rcu(), which allows
opt_kfree_rcu() to be eliminated.
Signed-off-by: Paul E. McKenney <redacted>
Signed-off-by: Paul E. McKenney <redacted>
On Wed, Feb 01, 2012 at 11:41:28AM -0800, Paul E. McKenney wrote:
From: "Paul E. McKenney" <redacted>
The call_rcu() in do_ip_setsockopt() invokes opt_kfree_rcu(), which just
calls kfree(). So convert the call_rcu() to kfree_rcu(), which allows
opt_kfree_rcu() to be eliminated.
This and patch 9/41 have exactly the same subject line. Consider
adding the name of the function you replaced to each one, to
disambiguate them.
- Josh Triplett
From: Paul E. McKenney <hidden> Date: 2012-02-02 15:56:46
On Wed, Feb 01, 2012 at 04:24:03PM -0800, Josh Triplett wrote:
On Wed, Feb 01, 2012 at 11:41:28AM -0800, Paul E. McKenney wrote:
quoted
From: "Paul E. McKenney" <redacted>
The call_rcu() in do_ip_setsockopt() invokes opt_kfree_rcu(), which just
calls kfree(). So convert the call_rcu() to kfree_rcu(), which allows
opt_kfree_rcu() to be eliminated.
This and patch 9/41 have exactly the same subject line. Consider
adding the name of the function you replaced to each one, to
disambiguate them.
Good point, will also add function names to the other three kfree_rcu()
patches.
Thanx, Paul