Re: [PATCH v7 0/7] netdev: Eliminate duplicate barriers on weakly-ordered archs

2018-03-27 Thread Sinan Kaya
On 3/27/2018 10:00 AM, David Miller wrote: > From: Sinan Kaya > Date: Tue, 27 Mar 2018 08:40:41 -0400 > >> Are you able to drop the applied ones so that I can post V7 or is it >> too late? > > I cannot "drop" changes from my tree since my tree is used by thousands > of

Re: [PATCH v7 0/7] netdev: Eliminate duplicate barriers on weakly-ordered archs

2018-03-27 Thread David Miller
From: Sinan Kaya Date: Tue, 27 Mar 2018 08:40:41 -0400 > Are you able to drop the applied ones so that I can post V7 or is it > too late? I cannot "drop" changes from my tree since my tree is used by thousands of people and therefore immutable. You must therefore send me

Re: [PATCH v7 0/7] netdev: Eliminate duplicate barriers on weakly-ordered archs

2018-03-27 Thread Sinan Kaya
Dave, On 3/26/2018 12:48 PM, David Miller wrote: > From: Sinan Kaya > Date: Sun, 25 Mar 2018 10:39:14 -0400 > >> Code includes wmb() followed by writel() in multiple places. writel() >> already has a barrier on some architectures like arm64. >> >> This ends up CPU

Re: [PATCH v7 0/7] netdev: Eliminate duplicate barriers on weakly-ordered archs

2018-03-26 Thread David Miller
From: Sinan Kaya Date: Sun, 25 Mar 2018 10:39:14 -0400 > Code includes wmb() followed by writel() in multiple places. writel() > already has a barrier on some architectures like arm64. > > This ends up CPU observing two barriers back to back before executing the > register

[PATCH v7 0/7] netdev: Eliminate duplicate barriers on weakly-ordered archs

2018-03-25 Thread Sinan Kaya
Code includes wmb() followed by writel() in multiple places. writel() already has a barrier on some architectures like arm64. This ends up CPU observing two barriers back to back before executing the register write. Since code already has an explicit barrier call, changing writel() to