Re: net: r8169: a question of memory barrier in the r8169 driver

From: Francois Romieu
Date: Thu Jan 18 2018 - 20:18:55 EST


Peter Zijlstra <peterz@xxxxxxxxxxxxx> :
[...]
> 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 ?

--
Ueimor