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: <20091208.204648.38101137.davem@davemloft.net>
Date:	Tue, 08 Dec 2009 20:46:48 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH] inetpeer: optimizations

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sat, 05 Dec 2009 13:11:51 +0100

> - Use atomic_dec_and_test() in inet_putpeer()
>   This takes/dirties the lock only if necessary.
> 
> - Group fields together, since they currently are in BSS and DATA section,
>   we have to dirty two cache lines instead of one.
> 
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>

Eric please resubmit this when net-next-2.6 opens back up.

Maybe add some comments so that people won't be confused about
semantics like Jarek was :-)
--
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