Re: [PATCH] selftests/bpf/test_maps: exit child process without error in ENOMEM case

2018-02-13 Thread Alexei Starovoitov
On Mon, Feb 12, 2018 at 09:52:04PM +0800, Li Zhijian wrote: > From: Li Zhijian > > 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

Re: [PATCH] selftests/bpf/test_maps: exit child process without error in ENOMEM case

2018-02-13 Thread Alexei Starovoitov
On Mon, Feb 12, 2018 at 09:52:04PM +0800, Li Zhijian wrote: > From: Li Zhijian > > 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

[PATCH] selftests/bpf/test_maps: exit child process without error in ENOMEM case

2018-02-12 Thread Li Zhijian
From: Li Zhijian 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

[PATCH] selftests/bpf/test_maps: exit child process without error in ENOMEM case

2018-02-12 Thread Li Zhijian
From: Li Zhijian 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