[PATCH v2] membarrier: add MEMBARRIER_CMD_GET_REGISTRATIONS flag

Dmitry V. Levin ldv at strace.io
Fri Jan 13 17:37:17 UTC 2023


Hi,

On Thu, Jan 12, 2023 at 02:10:52PM +0100, Sven Schnelle wrote:
> Signed-off-by: Sven Schnelle <svens at linux.ibm.com>
> ---
> Changes in v2:
> - add src/xlat/membarrier_cmds.in file
> 
>  src/xlat/membarrier_cmds.in |  1 +
>  tests/membarrier.c          | 10 ++++++++++
>  2 files changed, 11 insertions(+)
> 
> diff --git a/src/xlat/membarrier_cmds.in b/src/xlat/membarrier_cmds.in
> index cfa683328636..86124bd1e645 100644
> --- a/src/xlat/membarrier_cmds.in
> +++ b/src/xlat/membarrier_cmds.in
> @@ -8,3 +8,4 @@ MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE		(1 << 5)
>  MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE	(1 << 6)
>  MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ			(1 << 7)
>  MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ		(1 << 8)
> +MEMBARRIER_CMD_GET_REGISTRATIONS			(1 << 9)

I see this as next-20230113~55^2~14^2~2 in linux-next,
but not in mainline yet, when is it expected to land there?


-- 
ldv


More information about the Strace-devel mailing list