Re: [PATCH] mm/vmalloc: Do not warn on -ENOMEM from va_alloc()
From: Uladzislau Rezki
Date: Mon Aug 03 2026 - 09:51:02 EST
On Mon, Aug 03, 2026 at 09:19:52AM +0530, Anshuman Khandual wrote:
> On Sun, Aug 02, 2026 at 12:46:27PM +0200, Uladzislau Rezki (Sony) wrote:
> > Since vmalloc() accepts non-blocking GFP flags, allocation
> > requests may fail when callers pass restrictive GFP masks.
> >
> > va_clip() may return -ENOMEM when its GFP_NOWAIT fallback
> > allocation fails during NE_FIT_TYPE splitting. This is an
> > expected failure, so va_alloc() should return the error
> > without triggering a kernel splat.
>
> Dropping WARN_ON_ONCE() just for -ENOMEM while preserving this
> warning for other returned errors does make sense.
>
> >
> > Reported-by: syzbot+61c997e6be1d9bb300ba@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> Very small nit.
>
> If there is actual link for the problem report, probably it could
> be added as an Link: or Closes: here.
>
I hope Andrew can help here. If not i will resend!
Thank you!
--
Uladzislau Rezki