[LTP] [PATCH v3 0/2] swapon03: Try to swapon() as many files until it fails

Petr Vorel pvorel@suse.cz
Tue Nov 18 15:36:05 CET 2025


Changes v2->v3:
* Remove fork() (Cyril).
* Add -i2 to runtest/syscalls.
* Postpone other cleanup to later to speedup and simplify.

Link to v2:
https://lore.kernel.org/ltp/20251106163500.1063704-1-pvorel@suse.cz/

Link to v1:
https://lore.kernel.org/ltp/20251105154716.995786-1-pvorel@suse.cz/T/#t
https://patchwork.ozlabs.org/project/ltp/list/?series=481055&state=*

Petr Vorel (2):
  swapon03: Remove fork in setup
  swapon03: Try to swapon() as many files until it fails

 runtest/syscalls                            |  2 +-
 testcases/kernel/syscalls/swapon/swapon03.c | 67 +++++++++++----------
 2 files changed, 35 insertions(+), 34 deletions(-)

-- 
2.51.0



More information about the ltp mailing list