Re: [RFC] netlink: get rid of nl_table_lock

From
David Miller <davem@davemloft.net>
Date
2015-01-06 22:19:45
Also in
lkml
Reply to
Stephen Hemminger, 2015-01-03
From: Stephen Hemminger <stephen@networkplumber.org>
Date: Sat, 3 Jan 2015 11:02:11 -0800
As a follow on to Thomas's patch I think this would complete the
transistion to RCU for netlink.
Compile tested only.

This patch gets rid of the reader/writer nl_table_lock and replaces it
with exclusively using RCU for reading, and a mutex for writing.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
FWIW, this approach looks fine to me.

Thomas can you review this?
Thread (16 messages) 16 messages, 4 authors, last reply 2015-01-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help