[<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