mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-08-09 06:14:34 +02:00
Add a new stress test to exercise the interaction between targeted expedited membarrier commands and CFS bandwidth throttling. The test creates a deep cgroup hierarchy and aggressively hammers the membarrier syscall to expose lock contention and latency issues. This serves as a reliable reproducer for the `membarrier_ipi_mutex` cascade lockup, ensuring future changes to membarrier locking do not regress targeted command latency. Closes: https://lore.kernel.org/r/202604151516.Vc7Ro4LP-lkp@intel.com/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Aniket Gattani <aniketgattani@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260503212205.3714217-4-aniketgattani@google.com
10 lines
255 B
Makefile
10 lines
255 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
CFLAGS += -g $(KHDR_INCLUDES) -pthread -I../../../../tools/include
|
|
LDLIBS += -lpthread
|
|
|
|
TEST_GEN_PROGS := membarrier_test_single_thread \
|
|
membarrier_test_multi_thread \
|
|
membarrier_rseq_stress
|
|
|
|
include ../lib.mk
|