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

From: Andrew Morton

Date: Sun May 03 2026 - 12:52:26 EST


On Mon, 4 May 2026 00:45:16 +0800 Fujunjie <fujunjie1@xxxxxx> 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.