Convert syscalls/swap{on,off}/ to the new API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | libs/libltpswap: Add libs/libltpswap by using the new APIinclude/ libs/ libs/ | +99 | 0 replies | |
| 2/6 | syscalls/swapon/swapon01: Convert swapon01 to the new APItestcases/ testcases/ | +22 | 0 replies | |
| 3/6 | syscalls/swapon/swapon02: Convert swapon02 to the new APItestcases/ | +52 | 0 replies | |
| 4/6 | syscalls/swapon/swapon03: Convert swapon03 to the new APItestcases/ | +85 | 0 replies | |
| 5/6 | syscalls/swapoff/swapoff01: Convert swapoff01 to the new APItestcases/ testcases/ | +27 | 0 replies | |
| 6/6 | syscalls/swapoff/swapoff02: Convert swapoff02 to the new APIinclude/ libs/ libs/ +1 more | +43 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [LTP] [PATCH 0/6] Convert syscalls/swap{on,off}/ to the new API
From: QI Fuli <[email protected]>
Rename libs/libltpswapon libs/libltpswap and Convert it to the new API Convert syscalls/swap{on,off}/ to the new API
QI Fuli (6):
libs/libltpswap: Add libs/libltpswap by using the new API syscalls/swapon/swapon01: Convert swapon01 to the new API syscalls/swapon/swapon02: Convert swapon02 to the new API syscalls/swapon/swapon03: Convert swapon03 to the new API syscalls/swapoff/swapoff01: Convert swapoff01 to the new API syscalls/swapoff/swapoff02: Convert swapoff02 to the new API
include/libswap.h | 24 ++
include/libswapon.h | 39 ---
libs/{libltpswapon => libltpswap}/Makefile | 2 +-
libs/libltpswap/libswap.c | 63 +++++
libs/libltpswapon/libswapon.c | 90 -------
testcases/kernel/syscalls/swapoff/Makefile | 4 +-
testcases/kernel/syscalls/swapoff/swapoff01.c | 94 ++------
testcases/kernel/syscalls/swapoff/swapoff02.c | 142 ++++-------
testcases/kernel/syscalls/swapon/Makefile | 4 +-
testcases/kernel/syscalls/swapon/swapon01.c | 83 ++-----
testcases/kernel/syscalls/swapon/swapon02.c | 145 ++++-------
testcases/kernel/syscalls/swapon/swapon03.c | 227 +++++++-----------
12 files changed, 317 insertions(+), 600 deletions(-)
create mode 100644 include/libswap.h
delete mode 100644 include/libswapon.h
rename libs/{libltpswapon => libltpswap}/Makefile (89%)
create mode 100644 libs/libltpswap/libswap.c
delete mode 100644 libs/libltpswapon/libswapon.cSignature · 1 line
2.30.2