All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Cervesato <andrea.cervesato@suse.de>
To: Linux Test Project <ltp@lists.linux.it>
Subject: [LTP] [PATCH v3 0/2] Add process_mrelease testing suite
Date: Mon, 07 Sep 2026 10:55:15 +0200	[thread overview]
Message-ID: <20260907-process_mrelease-v3-0-03bde3e5d77c@suse.com> (raw)

This testing suite is meant to add coverage for process_mrelease()
syscall, introduced in the kernel 5.15.

The testing suite is providing following tests:
- process_mrelease01
- process_mrelease02

Since there's no man pages, please consider the following
documentation instead:

https://lwn.net/Articles/864184/
https://lwn.net/Articles/865341/

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v3:
process_mrelease01:
- drop /proc/<pid>/maps check and unused shared memory setup
- retry on ESRCH with exponentially increasing memory allocations
- pass immediately when process_mrelease() returns success
- remove unneeded needs_root flag
- fix author name typo and description formatting

process_mrelease02:
- wait for child process after checkpoint wake to avoid zombies
- remove unneeded needs_root flag
- update doc comment formatting

Changes in v2:
- process_mrelease01: change the algorithm to ensure we released the
  memory after process_mrelease() is called
- process_mrelease02: verify ESRCH error
- Link to v1: https://lore.kernel.org/r/20240522-process_mrelease-v1-0-41fe2fa44194@suse.com

To: Linux Test Project <ltp@lists.linux.it>

---
Andrea Cervesato (2):
      Add process_mrelease01 test
      Add process_mrelease02 test

 runtest/syscalls                                   |  3 +
 .../kernel/syscalls/process_mrelease/.gitignore    |  2 +
 .../kernel/syscalls/process_mrelease/Makefile      |  7 ++
 .../syscalls/process_mrelease/process_mrelease01.c | 94 ++++++++++++++++++++++
 .../syscalls/process_mrelease/process_mrelease02.c | 90 +++++++++++++++++++++
 5 files changed, 196 insertions(+)
---
base-commit: 463b33ad464b6840d0a1df5d41939e50d55d542c
change-id: 20240522-process_mrelease-3f2632b432e6

Best regards,
--  
Andrea Cervesato <andrea.cervesato@suse.com>


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

             reply	other threads:[~2026-09-07  8:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-07  8:55 Andrea Cervesato [this message]
2026-09-07  8:55 ` [LTP] [PATCH v3 1/2] Add process_mrelease01 test Andrea Cervesato
2026-09-07 12:06   ` [LTP] " linuxtestproject.agent
2026-09-07  8:55 ` [LTP] [PATCH v3 2/2] Add process_mrelease02 test Andrea Cervesato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260907-process_mrelease-v3-0-03bde3e5d77c@suse.com \
    --to=andrea.cervesato@suse.de \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.