Re: [PATCH net] netlink: move nl_table in read_mostly section

2015-05-14 Thread David Miller
From: Eric Dumazet Date: Tue, 12 May 2015 17:24:50 -0700 > From: Eric Dumazet > > netlink sockets creation and deletion heavily modify nl_table_users > and nl_table_lock. > > If nl_table is sharing one cache line with one of them, netlink > performance is really bad on SMP. > > 81ff5f

[PATCH net] netlink: move nl_table in read_mostly section

2015-05-12 Thread Eric Dumazet
From: Eric Dumazet netlink sockets creation and deletion heavily modify nl_table_users and nl_table_lock. If nl_table is sharing one cache line with one of them, netlink performance is really bad on SMP. 81ff5f00 B nl_table 81ff5f0c b nl_table_users Putting nl_table in read_mos