public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/3] swap{on,off} fixes for page size > 4KB
@ 2024-04-18 14:13 Petr Vorel
  2024-04-18 14:13 ` [LTP] [PATCH 1/3] swapoff0[12]: Remove unneeded tst_brk() Petr Vorel
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Petr Vorel @ 2024-04-18 14:13 UTC (permalink / raw)
  To: ltp

Hi Li, Cyril,

this is supposed just to fix our swap{on,off} tests on kernel with page
size > 4KB.

NOTE: while I first wanted to also convert include/libswap.h docs to the
new format, I'll postpone it to a separate effort to speedup this fix.

This is a replacement of "libswap: Change TWARN message to TINFO":

https://lore.kernel.org/ltp/20240417090222.707302-1-pvorel@suse.cz/
https://patchwork.ozlabs.org/project/ltp/patch/20240417090222.707302-1-pvorel@suse.cz/

Kind regards,
Petr

Petr Vorel (3):
  swapoff0[12]: Remove unneeded tst_brk()
  libswap: Add {SAFE_,}MAKE_MINIMAL_SWAPFILE() macros
  libswap: Use {SAFE_,}MAKE_MINIMAL_SWAPFILE()

 include/libswap.h                             | 17 +++++++++++++++++
 libs/libltpswap/libswap.c                     |  2 +-
 testcases/kernel/syscalls/swapoff/swapoff01.c |  4 +---
 testcases/kernel/syscalls/swapoff/swapoff02.c |  4 +---
 testcases/kernel/syscalls/swapon/swapon02.c   |  4 ++--
 testcases/kernel/syscalls/swapon/swapon03.c   |  4 ++--
 6 files changed, 24 insertions(+), 11 deletions(-)

-- 
2.43.0


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

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

end of thread, other threads:[~2024-04-18 18:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-18 14:13 [LTP] [PATCH 0/3] swap{on,off} fixes for page size > 4KB Petr Vorel
2024-04-18 14:13 ` [LTP] [PATCH 1/3] swapoff0[12]: Remove unneeded tst_brk() Petr Vorel
2024-04-18 14:56   ` Cyril Hrubis
2024-04-18 18:02     ` Petr Vorel
2024-04-18 14:13 ` [LTP] [PATCH 2/3] libswap: Add {SAFE_, }MAKE_MINIMAL_SWAPFILE() macros Petr Vorel
2024-04-18 15:39   ` Cyril Hrubis
2024-04-18 18:14     ` Petr Vorel
2024-04-18 14:13 ` [LTP] [PATCH 3/3] libswap: Use {SAFE_,}MAKE_MINIMAL_SWAPFILE() Petr Vorel
2024-04-18 15:40   ` Cyril Hrubis

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