Thread (21 messages) 21 messages, 7 authors, 2021-07-09

Re: [PATCH 1/1] mm: introduce process_reap system call

From: Michal Hocko <mhocko@suse.com>
Date: 2021-07-07 12:38:47
Also in: linux-api, lkml

On Mon 05-07-21 09:41:54, David Hildenbrand wrote:
On 02.07.21 17:27, Christian Brauner wrote:
[...]
quoted
That one was my favorite from the list I gave too but maybe we can
satisfy Andy too if we use one of:
- process_mfree()
- process_mrelease()
FWIW, I tend to like process_mrelease(), due to the implied "release" ("free
the memory if there are no other references") semantics.
Agreed.
Further, a new
syscall feels cleaner than some magic sysfs/procfs toggle. Just my 2 cents.
Yeah, proc based interface is both tricky to use and kinda ugly now that
pidfd can solve all at in once.

My original preference was a more generic kill syscall to allow flags
but a dedicated syscall doesn't look really bad either.
-- 
Michal Hocko
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help