lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100318174459.207f4969@nehalam>
Date:	Thu, 18 Mar 2010 17:44:59 -0700
From:	Stephen Hemminger <shemminger@...tta.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH] netlink: convert DIY reader/writer to mutex and RCU
 (v2)

On Tue, 16 Mar 2010 16:00:35 +0100
Eric Dumazet <eric.dumazet@...il.com> wrote:

> Le lundi 08 mars 2010 à 14:00 -0800, Stephen Hemminger a écrit :
> > The netlink table locking was open coded version of reader/writer
> > sleeping lock.  Change to using mutex and RCU which makes
> > code clearer, shorter, and simpler.
> > 
> > Could use sk_list nulls but then would have to have kmem_cache
> > for netlink handles and that seems like unnecessary bloat.
> > 
> > Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
> > 
> > ---

Maybe using rcu list_nulls would be better.
The problem is what about the bind_node hash list.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ