ubrav...@fb.com; y...@fb.com; john.fastab...@gmail.com;
> kpsi...@kernel.org; linux-ker...@vger.kernel.org; netdev@vger.kernel.org;
> b...@vger.kernel.org
> Subject: Re: [PATCH] seccomp: Improve performance by optimizing memory
> barrier
>
> On Mon, Feb 01, 2021 at 08:49:41PM +0800
On Mon, Feb 01, 2021 at 08:49:41PM +0800, wanghongzhe wrote:
> If a thread(A)'s TSYNC flag is set from seccomp(), then it will
> synchronize its seccomp filter to other threads(B) in same thread
> group. To avoid race condition, seccomp puts rmb() between
> reading the mode and filter in seccomp ch
>> On Feb 1, 2021, at 4:06 AM, wanghongzhe wrote:
>>
>> If a thread(A)'s TSYNC flag is set from seccomp(), then it will
>> synchronize its seccomp filter to other threads(B) in same thread
>> group. To avoid race condition, seccomp puts rmb() between reading the
>> mode and filter in seccomp
> On Feb 1, 2021, at 4:06 AM, wanghongzhe wrote:
>
> If a thread(A)'s TSYNC flag is set from seccomp(), then it will
> synchronize its seccomp filter to other threads(B) in same thread
> group. To avoid race condition, seccomp puts rmb() between
> reading the mode and filter in seccomp check