Re: [RFC PATCH] mm/mbind: Introduce process_mbind() syscall for external memory binding

From: Vinicius Petrucci
Date: Wed Nov 22 2023 - 18:57:41 EST


On Wed, Nov 22, 2023 at 3:39 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> I'm having deja vu. Not 10 minutes ago, Gregory sent out a patchset
> which does the same thing.
>
> https://lkml.kernel.org/r/20231122211200.31620-1-gregory.price@xxxxxxxxxxxx
>

Certainly, it appears that we were addressing the same matter but
approaching it from different perspectives or discussions.
And we hastened to submit our RFCs before the Thanksgiving break. :-)

The patch I sent originated from the thread, and the subsequent
discussion commenced with the 'pidfd_set_mempolicy' RFC, possibly
influenced by the 'process_madvise.'
Specifically, the concept of a 'process_mbind()' syscall was suggested
by Frank van der Linden (Google):
https://lkml.kernel.org/linux-mm/Y0WEbCqJHjnqsg8n@xxxxxxxxxxxxxx/T/#m950f26bdd6ce494b20ba170cc1f6db85e1924e8e

I would appreciate it if others could kindly evaluate what appears to
be the suitable course of action moving forward.

Thank you!