On Thu, Apr 11, 2019 at 10:23 PM Daniel Borkmann wrote:
>
> On 04/11/2019 09:54 AM, Magnus Karlsson wrote:
> > On Wed, Apr 10, 2019 at 9:08 PM Y Song wrote:
> >> On Wed, Apr 10, 2019 at 12:21 AM Magnus Karlsson
> >> wrote:
> >>>
> >>> The use of smp_rmb() and smp_wmb() creates a Linux header dep
On 04/11/2019 10:23 PM, Daniel Borkmann wrote:
> On 04/11/2019 09:54 AM, Magnus Karlsson wrote:
>> On Wed, Apr 10, 2019 at 9:08 PM Y Song wrote:
>>> On Wed, Apr 10, 2019 at 12:21 AM Magnus Karlsson
>>> wrote:
The use of smp_rmb() and smp_wmb() creates a Linux header dependency
on b
On 04/11/2019 09:54 AM, Magnus Karlsson wrote:
> On Wed, Apr 10, 2019 at 9:08 PM Y Song wrote:
>> On Wed, Apr 10, 2019 at 12:21 AM Magnus Karlsson
>> wrote:
>>>
>>> The use of smp_rmb() and smp_wmb() creates a Linux header dependency
>>> on barrier.h that is uneccessary in most parts. This patch
On Wed, Apr 10, 2019 at 9:08 PM Y Song wrote:
>
> On Wed, Apr 10, 2019 at 12:21 AM Magnus Karlsson
> wrote:
> >
> > The use of smp_rmb() and smp_wmb() creates a Linux header dependency
> > on barrier.h that is uneccessary in most parts. This patch implements
> > the two small defines that are nee
On Wed, Apr 10, 2019 at 12:21 AM Magnus Karlsson
wrote:
>
> The use of smp_rmb() and smp_wmb() creates a Linux header dependency
> on barrier.h that is uneccessary in most parts. This patch implements
> the two small defines that are needed from barrier.h. As a bonus, the
> new implementations are
The use of smp_rmb() and smp_wmb() creates a Linux header dependency
on barrier.h that is uneccessary in most parts. This patch implements
the two small defines that are needed from barrier.h. As a bonus, the
new implementations are faster than the default ones as they default
to sfence and lfence