lkml.org 
[lkml]   [2014]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: getaddrinfo slowdown in 3.17.1, due to getifaddrs
From
Date
On Fri, 2014-10-17 at 12:30 -0400, David Miller wrote:

> Can I ask a serious question? What is the synchronize_net() in AF_NETLINK
> exactly needed for?

__netlink_lookup() calls rhashtable_lookup_compare()

So you really want that any object found in this lookup respects
rcu grace period before being freed.

RCU contract is pretty clear about deletions of objects.





\
 
 \ /
  Last update: 2014-10-17 23:41    [W:0.363 / U:1.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site