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

2018-02-22 Thread Daniel Borkmann
On 02/22/2018 03:34 AM, Li Zhijian wrote: > From: Li Zhijian > > test_maps contains a series of stress tests, and previously it will break the > rest tests when it failed to alloc memory. > --- > Failed to create hashmap key=8 value=262144 'Cannot

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

2018-02-21 Thread Li Zhijian
From: Li Zhijian test_maps contains a series of stress tests, and previously it will break the rest tests when it failed to alloc memory. --- Failed to create hashmap key=8 value=262144 'Cannot allocate memory' Failed to create hashmap key=16