Thread (7 messages) flat view 7 messages, 4 authors, 2021-02-04

Re: [PATCH v1 1/1] Firstly, as Andy mentioned, this should be smp_rmb() instead of rmb(). considering that TSYNC is a cross-thread situation, and rmb() is a mandatory barrier which should not be used to control SMP effects, since mandatory barriers impose unnecessary overhead on both SMP and UP systems, as kernel Documentation said.

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-02-02 11:54:39
Also in: bpf, lkml

On Tue, Feb 02, 2021 at 06:13:07PM +0800, wanghongzhe wrote:
Secondly, the smp_rmb() should be put between reading SYSCALL_WORK_SECCOMP and reading
<snip>

Your subject line of the patch is a bit odd :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help