[LTP] [PATCH v2 0/2] swap{on,off} fixes for page size > 4KB
Petr Vorel
pvorel@suse.cz
Thu Apr 18 20:52:08 CEST 2024
Hi Cyril, Li,
Changes v1->v2:
* Use 1MB for minimal swap file instead of using disk block size as a
base measure of size (Cyril)
Kind regards,
Petr
Petr Vorel (2):
libswap: Add {SAFE_,}MAKE_MINIMAL_SWAPFILE() macros
libswap: Use {SAFE_,}MAKE_MINIMAL_SWAPFILE()
include/libswap.h | 18 ++++++++++++++++++
libs/libltpswap/libswap.c | 2 +-
testcases/kernel/syscalls/swapoff/swapoff02.c | 2 +-
testcases/kernel/syscalls/swapon/swapon02.c | 4 ++--
testcases/kernel/syscalls/swapon/swapon03.c | 4 ++--
5 files changed, 24 insertions(+), 6 deletions(-)
--
2.43.0
More information about the ltp
mailing list