public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v3 0/5] cachestat testing suite
@ 2024-07-22 14:28 Andrea Cervesato
  2024-07-22 14:28 ` [LTP] [PATCH v3 1/5] Add cachestat fallback definitions Andrea Cervesato
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Andrea Cervesato @ 2024-07-22 14:28 UTC (permalink / raw)
  To: ltp

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/

---
Changes in v3:
- include stdlib.h when free() is used
- add cachestat04 test looping on all file descriptors
- Link to v2: https://lore.kernel.org/r/20240715-cachestat-v2-0-55817ad1a408@suse.com

Changes in v2:
- cachestat01: run test on multiple test pages
- remove cachestat01A
- cachestat02: run test on multiple test pages
- add new cachestat03 test

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>

---
Andrea Cervesato (5):
      Add cachestat fallback definitions
      Add cachestat01 test
      Add cachestat02 test
      Add cachestat03 test
      Add cachestat04 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                                  |   5 +
 testcases/kernel/syscalls/cachestat/.gitignore    |   4 +
 testcases/kernel/syscalls/cachestat/Makefile      |  10 ++
 testcases/kernel/syscalls/cachestat/cachestat.h   |  27 ++++++
 testcases/kernel/syscalls/cachestat/cachestat01.c | 106 ++++++++++++++++++++++
 testcases/kernel/syscalls/cachestat/cachestat02.c |  90 ++++++++++++++++++
 testcases/kernel/syscalls/cachestat/cachestat03.c |  80 ++++++++++++++++
 testcases/kernel/syscalls/cachestat/cachestat04.c |  58 ++++++++++++
 28 files changed, 446 insertions(+)
---
base-commit: 2433c503a6657273da895e36adda73942452c482
change-id: 20240515-cachestat-11fc82af07ec

Best regards,
-- 
Andrea Cervesato <andrea.cervesato@suse.com>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-07-24  9:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-22 14:28 [LTP] [PATCH v3 0/5] cachestat testing suite Andrea Cervesato
2024-07-22 14:28 ` [LTP] [PATCH v3 1/5] Add cachestat fallback definitions Andrea Cervesato
2024-07-22 14:28 ` [LTP] [PATCH v3 2/5] Add cachestat01 test Andrea Cervesato
2024-07-23 10:40   ` Cyril Hrubis
2024-07-22 14:28 ` [LTP] [PATCH v3 3/5] Add cachestat02 test Andrea Cervesato
2024-07-23 10:43   ` Cyril Hrubis
2024-07-22 14:28 ` [LTP] [PATCH v3 4/5] Add cachestat03 test Andrea Cervesato
2024-07-24  9:20   ` Cyril Hrubis
2024-07-22 14:28 ` [LTP] [PATCH v3 5/5] Add cachestat04 test Andrea Cervesato
2024-07-24  9:55   ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox