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: <20161121.113255.436791705251918172.davem@davemloft.net>
Date:   Mon, 21 Nov 2016 11:32:55 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     eric.dumazet@...il.com
Cc:     netdev@...r.kernel.org, rasesh.mody@...ium.com,
        harish.patil@...ium.com
Subject: Re: [PATCH net-next] bnx2: use READ_ONCE() instead of barrier()

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sat, 19 Nov 2016 14:57:11 -0800

> From: Eric Dumazet <edumazet@...gle.com>
> 
> barrier() is a big hammer compared to READ_ONCE(),
> and requires comments explaining what is protected.
> 
> READ_ONCE() is more precise and compiler should generate
> better overall code.
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ