Thread (22 messages) flat view 22 messages, 6 authors, 2022-10-13

Re: [RFC] mm: add new syscall pidfd_set_mempolicy()

From: Michal Hocko <mhocko@suse.com>
Date: 2022-10-11 15:24:39
Also in: linux-doc, linux-mm, lkml

On Mon 10-10-22 09:22:13, Frank van der Linden wrote:
For consistency with process_madvise(), I would suggest calling it
process_set_mempolicy.
This operation has per-thread rather than per-process semantic so I do
not think your proposed naming is better.
Other than that, this makes sense. To complete
the set, perhaps a process_mbind() should be added as well. What do
you think?
Is there any real usecase for this interface? How is the caller supposed
to make per-range decisions without a very involved coordination with
the target process?
-- 
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