[LTP] [PATCH v3 0/2] swap{on,off} fixes for page size > 4KB

Petr Vorel pvorel@suse.cz
Thu Apr 25 23:10:40 CEST 2024


Changes v2->v3:
* s/MAKE_MINIMAL_SWAPFILE/MAKE_SMALL_SWAPFILE/

Petr Vorel (2):
  libswap: Add {SAFE_,}MAKE_SMALL_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