[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220314101245.1589ec82@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 14 Mar 2022 10:12:45 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jiasheng Jiang <jiasheng@...as.ac.cn>
Cc: gregkh@...uxfoundation.org, stephen@...workplumber.org,
kys@...rosoft.com, haiyangz@...rosoft.com, sthemmin@...rosoft.com,
wei.liu@...nel.org, decui@...rosoft.com, davem@...emloft.net,
ast@...nel.org, daniel@...earbox.net, hawk@...nel.org,
john.fastabend@...il.com, andrii@...nel.org, kafai@...com,
songliubraving@...com, yhs@...com, kpsingh@...nel.org,
linux-hyperv@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH] hv_netvsc: Add check for kvmalloc_array
On Mon, 14 Mar 2022 16:35:00 +0800 Jiasheng Jiang wrote:
> On Mon, Mar 14, 2022 at 04:13:59PM +0800, Greg KH wrote:
> >> The failure of allocation is not included in the tests.
> >> And as far as I know, there is not any tool that has the
> >> ability to fail the allocation.
> >
> > There are tools that do this.
> >
>
> Thanks, could you please tell me the tools?
Google "linux kernel fail allocation test"
second result is "Fault injection capabilities infrastructure"
which is what you're looking for.
Please try harder next time.
Powered by blists - more mailing lists