Re: [PATCH v2] mm/madvise: reject invalid process_madvise() advice for zero-length vectors

Andrew Morton
2026-05-03T16:50:54Z

On Mon, 4 May 2026 00:45:16 +0800 Fujunjie <fujunjie1@qq.com> wrote:

> > /*
> > * An madvise operation is attempting to restart the syscall,
> > * but we cannot proceed as it would not be correct to repeat
> > --
> > 2.54.0
>
> Thanks, Lorenzo. That looks clearer to me too.
>
> Since this is already in mm-unstable,

That's OK - it's called "unstable" for a reason! Things come in,
things get removed, things get changed. All the time.

> I'll wait for Andrew's preference.
> If a respin is needed, I'll fold this in together with SJ's comments.

Please prepare a v3 in the usual fashion.