selftests: add membarrier syscall test
authorPranith Kumar <[email protected]>
Fri, 11 Sep 2015 20:07:42 +0000 (13:07 -0700)
committerLinus Torvalds <[email protected]>
Fri, 11 Sep 2015 22:21:34 +0000 (15:21 -0700)
commitb6d973441675222a4e6c8cad8208c2fe098a0b25
treedc2a7ac4e7ddfb622722caf9b8ab3f5f13abd178
parent5b25b13ab08f616efd566347d809b4ece54570d1
selftests: add membarrier syscall test

Add a self test for the membarrier system call.

Signed-off-by: Pranith Kumar <[email protected]>
Signed-off-by: Mathieu Desnoyers <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
tools/testing/selftests/Makefile
tools/testing/selftests/membarrier/.gitignore [new file with mode: 0644]
tools/testing/selftests/membarrier/Makefile [new file with mode: 0644]
tools/testing/selftests/membarrier/membarrier_test.c [new file with mode: 0644]