[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180214032820.jjedkz2z4bii4asz@ast-mbp.dhcp.thefacebook.com>
Date: Tue, 13 Feb 2018 19:28:22 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Li Zhijian <lizhijian@...fujitsu.com>
Cc: shuah@...nel.org, ast@...nel.org, daniel@...earbox.net,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
Li Zhijian <zhijianx.li@...el.com>,
Philip Li <philip.li@...el.com>
Subject: Re: [PATCH] selftests/bpf/test_maps: exit child process without
error in ENOMEM case
On Mon, Feb 12, 2018 at 09:52:04PM +0800, Li Zhijian wrote:
> From: Li Zhijian <zhijianx.li@...el.com>
>
> test_maps contains a series of stress tests, and previously it will break the
> reset tests when it failed to alloc memory.
> -----------------------
> Failed to create hashmap key=8 value=262144 'Cannot allocate memory'
> Failed to create hashmap key=16 value=262144 'Cannot allocate memory'
> Failed to create hashmap key=8 value=262144 'Cannot allocate memory'
> Failed to create hashmap key=8 value=262144 'Cannot allocate memory'
> test_maps: test_maps.c:955: run_parallel: Assertion `status == 0' failed.
> Aborted
> not ok 1..3 selftests: test_maps [FAIL]
> -----------------------
> after this patch, the rest tests will be continue when it occurs a ENOMEM failure
>
> CC: Alexei Starovoitov <alexei.starovoitov@...il.com>
> CC: Philip Li <philip.li@...el.com>
> Suggest-by: Daniel Borkmann <daniel@...earbox.net>
> Signed-off-by: Li Zhijian <zhijianx.li@...el.com>
could you please resend it and cc netdev so it appears in patchworks properly.
Thanks!
Powered by blists - more mailing lists