mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
Patch series "selftests: cgroup: add zswap test program". This series adds 2 zswap related selftests that verify known and fixed issues. A new dedicated test program (test_zswap) is proposed since the test cases are specific to zswap and hosts specific helpers. The first patch adds the (empty) test program, while the other 2 add an actual test function each. This patch (of 3): Add empty cgroup-zswap self test scaffold program, test functions to be added in the next commits. Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Domenico Cerasuolo <[email protected]> Cc: Dan Streetman <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Muchun Song <[email protected]> Cc: Nhat Pham <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Roman Gushchin <[email protected]> Cc: Seth Jennings <[email protected]> Cc: Shakeel Butt <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Vitaly Wool <[email protected]> Cc: Zefan Li <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
28 lines
754 B
Makefile
28 lines
754 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
CFLAGS += -Wall -pthread
|
|
|
|
all: ${HELPER_PROGS}
|
|
|
|
TEST_FILES := with_stress.sh
|
|
TEST_PROGS := test_stress.sh test_cpuset_prs.sh
|
|
TEST_GEN_FILES := wait_inotify
|
|
TEST_GEN_PROGS = test_memcontrol
|
|
TEST_GEN_PROGS += test_kmem
|
|
TEST_GEN_PROGS += test_core
|
|
TEST_GEN_PROGS += test_freezer
|
|
TEST_GEN_PROGS += test_kill
|
|
TEST_GEN_PROGS += test_cpu
|
|
TEST_GEN_PROGS += test_zswap
|
|
|
|
LOCAL_HDRS += $(selfdir)/clone3/clone3_selftests.h $(selfdir)/pidfd/pidfd.h
|
|
|
|
include ../lib.mk
|
|
|
|
$(OUTPUT)/test_memcontrol: cgroup_util.c
|
|
$(OUTPUT)/test_kmem: cgroup_util.c
|
|
$(OUTPUT)/test_core: cgroup_util.c
|
|
$(OUTPUT)/test_freezer: cgroup_util.c
|
|
$(OUTPUT)/test_kill: cgroup_util.c
|
|
$(OUTPUT)/test_cpu: cgroup_util.c
|
|
$(OUTPUT)/test_zswap: cgroup_util.c
|