Thread (2 messages) 2 messages, 2 authors, 2022-03-14

Re: [PATCH] hv_netvsc: Add check for kvmalloc_array

From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-03-14 17:12:57
Also in: bpf, linux-hyperv, lkml

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:
quoted
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help