[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180119171442.GY2228@hirez.programming.kicks-ass.net>
Date: Fri, 19 Jan 2018 18:14:42 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Francois Romieu <romieu@...zoreil.com>
Cc: Jia-Ju Bai <baijiaju1990@...il.com>, nic_swsd@...ltek.com,
alexander.h.duyck@...hat.com, David Miller <davem@...emloft.net>,
dhowells@...hat.com, paulmck@...ux.vnet.ibm.com,
will.deacon@....com, netdev@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: net: r8169: a question of memory barrier in the r8169 driver
On Fri, Jan 19, 2018 at 02:11:18AM +0100, Francois Romieu wrote:
> Peter Zijlstra <peterz@...radead.org> :
> [...]
> > There is only 1 variable afaict. Memory barriers need at least 2 in
> > order to be able to do _anything_.
>
> I don't get your point: why don't {cur_tx, dirty_tx} qualify as said
> two variables ?
There wasn't any cur_tx in the code you provided.
Powered by blists - more mailing lists