[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YayptO82EvG3EwKA@unreal>
Date: Sun, 5 Dec 2021 13:59:48 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Bixuan Cui <cuibixuan@...ux.alibaba.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
torvalds@...ux-foundation.org, akpm@...ux-foundation.org, w@....eu,
keescook@...omium.org
Subject: Re: [PATCH -next] mm: delete oversized WARN_ON() in kvmalloc() calls
On Thu, Dec 02, 2021 at 10:06:24AM +0800, Bixuan Cui wrote:
> Delete the WARN_ON() and return NULL directly for oversized parameter
> in kvmalloc() calls.
> Also add unlikely().
>
> Fixes: 7661809d493b ("mm: don't allow oversized kvmalloc() calls")
> Signed-off-by: Bixuan Cui <cuibixuan@...ux.alibaba.com>
How can we progress with this patch?
>From this discussion, at least for RDMA, KVM and BPF, this huge size is legit
and WARN_ON() can be seen as false alarm.
Thanks
Powered by blists - more mailing lists