mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
membarrier commands cover very different code paths if they are in a single-threaded vs multi-threaded process. Therefore, exercise both scenarios in the kernel selftests to increase coverage of this selftest. Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Chris Metcalf <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Eric W. Biederman <[email protected]> Cc: Kirill Tkhai <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Russell King - ARM Linux admin <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
9 lines
201 B
Makefile
9 lines
201 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
CFLAGS += -g -I../../../../usr/include/
|
|
LDLIBS += -lpthread
|
|
|
|
TEST_GEN_PROGS := membarrier_test_single_thread \
|
|
membarrier_test_multi_thread
|
|
|
|
include ../lib.mk
|