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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160221.215843.877041303205905380.davem@davemloft.net>
Date:	Sun, 21 Feb 2016 21:58:43 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	claudiu.manoil@...escale.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/3] gianfar: Map head TxBD first to skip a
 wmb()

From: Claudiu Manoil <claudiu.manoil@...escale.com>
Date: Fri, 19 Feb 2016 12:47:32 +0200

> The main point of this change is to update the buffer pointer of
> the first BD way before the status field is updated, so that a
> wmb() between these two operations is no longer needed.

This is the completely bogus.

The distance between two memory operations has no bearing upon
whether a memory barrier is necessary between them or not.

There could be 1,000 loads and stores between two dependant
operations, you still need the memory barrier for full correctness
if the ordering between them is important.

I am not applying this patch series because it's is doing things
and stating things which are entirely incorrect.

Sorry.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ