[PATCH 0/3 for 4.2] sys_membarrier (x86, generic)

From: Mathieu Desnoyers
Date: Wed Jun 17 2015 - 08:11:36 EST


Hi,

I am submitting the membarrier system call for the upcoming Linux 4.2
merge window. It would be nice if it could sit a few days in Andrew
Morton's tree before that.

A major addition to sys_membarrier changelog is the inclusion of the
list of users which would benefit from having this system call today.

Thanks,

Mathieu

Mathieu Desnoyers (2):
sys_membarrier(): system-wide memory barrier (generic, x86) (v19)
selftests: enhance membarrier syscall test

Pranith Kumar (1):
selftests: add membarrier syscall test

MAINTAINERS | 8 ++
arch/x86/syscalls/syscall_32.tbl | 1 +
arch/x86/syscalls/syscall_64.tbl | 1 +
include/linux/syscalls.h | 2 +
include/uapi/asm-generic/unistd.h | 4 +-
include/uapi/linux/Kbuild | 1 +
include/uapi/linux/membarrier.h | 53 +++++++++
init/Kconfig | 12 ++
kernel/Makefile | 1 +
kernel/membarrier.c | 66 +++++++++++
kernel/sys_ni.c | 3 +
tools/testing/selftests/Makefile | 1 +
tools/testing/selftests/membarrier/.gitignore | 1 +
tools/testing/selftests/membarrier/Makefile | 11 ++
.../testing/selftests/membarrier/membarrier_test.c | 121 +++++++++++++++++++++
15 files changed, 285 insertions(+), 1 deletion(-)
create mode 100644 include/uapi/linux/membarrier.h
create mode 100644 kernel/membarrier.c
create mode 100644 tools/testing/selftests/membarrier/.gitignore
create mode 100644 tools/testing/selftests/membarrier/Makefile
create mode 100644 tools/testing/selftests/membarrier/membarrier_test.c

--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/