[LTP] [PATCH v2 0/1] Test brk VMA code path

Liam Howlett liam.howlett@oracle.com
Wed Feb 24 22:31:23 CET 2021


The brk system call uses a slightly different code path through the
kernel to expand/contract across VMAs.  This new test is written to
force the VMA to create at least two new entries and shrink back across
VMA boundaries.

V2 changes:
- White space fixes.
- Removed unnecessary include
- Added tst_res in failure paths

Liam R. Howlett (1):
  brk02: Add test for removing more than one VMA

 testcases/kernel/syscalls/brk/brk02.c | 54 +++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 testcases/kernel/syscalls/brk/brk02.c

-- 
2.30.0


More information about the ltp mailing list