Re: [dpdk-dev] [PATCH 18/41] test: fix malloc autotest to support memory hotplug

2018-03-19 Thread Olivier Matz
On Sat, Mar 03, 2018 at 01:46:06PM +, Anatoly Burakov wrote: > The test was expecting memory already being allocated on all sockets, > and thus was failing because calling rte_malloc could trigger memory > hotplug event and allocate memory where there was none before. > > Fix it to instead rep

[dpdk-dev] [PATCH 18/41] test: fix malloc autotest to support memory hotplug

2018-03-03 Thread Anatoly Burakov
The test was expecting memory already being allocated on all sockets, and thus was failing because calling rte_malloc could trigger memory hotplug event and allocate memory where there was none before. Fix it to instead report availability of memory on specific sockets by attempting to allocate a