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

From: David Miller
Date: Tue Oct 21 2014 - 21:36:16 EST


From: Thomas Graf <tgraf@xxxxxxx>
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 <davem@xxxxxxxxxxxxx>
> Cc: Eric Dumazet <eric.dumazet@xxxxxxxxx>
> Reported-by: Steinar H. Gunderson <sgunderson@xxxxxxxxxxx>
> Reported-and-tested-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
> Signed-off-by: Thomas Graf <tgraf@xxxxxxx>

Applied and queued up for -stable.

Please use an appropriate "Fixes: " tag in the future, this is
especially important for an issue as serious as this one.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/