Re: [PATCH v3 1/2] mm: introduce process_mrelease system call
From: Shakeel Butt
Date: Fri Jul 23 2021 - 09:46:21 EST
On Fri, Jul 23, 2021 at 1:53 AM Michal Hocko <mhocko@xxxxxxxx> wrote:
>
[...]
> > However
> > retrying means issuing another syscall, so additional overhead...
> > I guess such "best effort" approach would be unusual for a syscall, so
> > maybe we can keep it as it is now and if such "do not block" mode is needed
> > we can use flags to implement it later?
>
> Yeah, an explicit opt-in via flags would be an option if that turns out
> to be really necessary.
>
I am fine with keeping it as it is but we do need the non-blocking
option (via flags) to enable userspace to act more aggressively.