Re: [PATCH] netlink: Re-add locking to netlink_lookup() and seq walker

2014-10-21 Thread David Miller
From: Thomas Graf Date: Tue, 21 Oct 2014 22:05:38 +0200 > The synchronize_rcu() in netlink_release() introduces unacceptable > latency. Reintroduce minimal lookup so we can drop the > synchronize_rcu() until socket destruction has been RCUfied. > > Cc: David S. Miller > Cc: Eric Dumazet > Repo

[PATCH] netlink: Re-add locking to netlink_lookup() and seq walker

2014-10-21 Thread Thomas Graf
The synchronize_rcu() in netlink_release() introduces unacceptable latency. Reintroduce minimal lookup so we can drop the synchronize_rcu() until socket destruction has been RCUfied. Cc: David S. Miller Cc: Eric Dumazet Reported-by: Steinar H. Gunderson Reported-and-tested-by: Heiko Carstens S

Re: [PATCH] netlink: Re-add locking to netlink_lookup() and seq walker

2014-10-21 Thread Heiko Carstens
On Mon, Oct 20, 2014 at 08:53:55PM +0100, Thomas Graf wrote: > Heiko, > > Can you test the following patch: > > The synchronize_rcu() in netlink_release() introduces unacceptable > latency. Reintroduce minimal lookup so we can drop the > synchronize_rcu() until socket destruction has been RCUfied

[PATCH] netlink: Re-add locking to netlink_lookup() and seq walker

2014-10-20 Thread Thomas Graf
Heiko, Can you test the following patch: The synchronize_rcu() in netlink_release() introduces unacceptable latency. Reintroduce minimal lookup so we can drop the synchronize_rcu() until socket destruction has been RCUfied. Signed-off-by: Thomas Graf --- net/netlink/af_netlink.c | 37 +