[LTP] [PATCH v1 0/3] cachestat testing suite
Andrea Cervesato
andrea.cervesato@suse.de
Thu May 16 12:42:24 CEST 2024
From: Andrea Cervesato <andrea.cervesato@suse.com>
This suite is adding covergae for the cachestat() syscall which is
providing support for reading the file cache status and it has been
added in the kernel 6.5.
There's not a man page yet, so please consider the following link as
documentation:
https://lwn.net/Articles/917059/
Andrea Cervesato (3):
Add cachestat fallback definitions
Add cachestat01 and cachestat01A tests
Add cachestat02 test
configure.ac | 4 +
include/lapi/mman.h | 44 ++++++++
include/lapi/syscalls/aarch64.in | 1 +
include/lapi/syscalls/arc.in | 1 +
include/lapi/syscalls/arm.in | 1 +
include/lapi/syscalls/hppa.in | 1 +
include/lapi/syscalls/i386.in | 1 +
include/lapi/syscalls/ia64.in | 1 +
include/lapi/syscalls/loongarch.in | 1 +
include/lapi/syscalls/mips_n32.in | 1 +
include/lapi/syscalls/mips_n64.in | 1 +
include/lapi/syscalls/mips_o32.in | 1 +
include/lapi/syscalls/powerpc.in | 1 +
include/lapi/syscalls/powerpc64.in | 1 +
include/lapi/syscalls/s390.in | 1 +
include/lapi/syscalls/s390x.in | 1 +
include/lapi/syscalls/sh.in | 1 +
include/lapi/syscalls/sparc.in | 1 +
include/lapi/syscalls/sparc64.in | 1 +
include/lapi/syscalls/x86_64.in | 1 +
runtest/syscalls | 4 +
.../kernel/syscalls/cachestat/.gitignore | 2 +
testcases/kernel/syscalls/cachestat/Makefile | 10 ++
.../kernel/syscalls/cachestat/cachestat.h | 27 +++++
.../kernel/syscalls/cachestat/cachestat01.c | 102 ++++++++++++++++++
.../kernel/syscalls/cachestat/cachestat02.c | 82 ++++++++++++++
26 files changed, 293 insertions(+)
create mode 100644 include/lapi/mman.h
create mode 100644 testcases/kernel/syscalls/cachestat/.gitignore
create mode 100644 testcases/kernel/syscalls/cachestat/Makefile
create mode 100644 testcases/kernel/syscalls/cachestat/cachestat.h
create mode 100644 testcases/kernel/syscalls/cachestat/cachestat01.c
create mode 100644 testcases/kernel/syscalls/cachestat/cachestat02.c
--
2.35.3
More information about the ltp
mailing list