public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/2] swap{on,off} fixes for page size > 4KB
@ 2024-04-18 18:52 Petr Vorel
  2024-04-18 18:52 ` [LTP] [PATCH v2 1/2] libswap: Add {SAFE_, }MAKE_MINIMAL_SWAPFILE() macros Petr Vorel
  2024-04-18 18:52 ` [LTP] [PATCH v2 2/2] libswap: Use {SAFE_,}MAKE_MINIMAL_SWAPFILE() Petr Vorel
  0 siblings, 2 replies; 9+ messages in thread
From: Petr Vorel @ 2024-04-18 18:52 UTC (permalink / raw)
  To: ltp

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


-- 
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-19  9:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-18 18:52 [LTP] [PATCH v2 0/2] swap{on,off} fixes for page size > 4KB Petr Vorel
2024-04-18 18:52 ` [LTP] [PATCH v2 1/2] libswap: Add {SAFE_, }MAKE_MINIMAL_SWAPFILE() macros Petr Vorel
2024-04-19  1:50   ` Li Wang
2024-04-19  2:04     ` Li Wang
2024-04-19  6:12       ` Petr Vorel
2024-04-19  8:47         ` Li Wang
2024-04-19  9:40           ` Petr Vorel
2024-04-19  8:50         ` Cyril Hrubis
2024-04-18 18:52 ` [LTP] [PATCH v2 2/2] libswap: Use {SAFE_,}MAKE_MINIMAL_SWAPFILE() Petr Vorel

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