[lng-odp] [API-NEXT PATCHv4] linux-generic: pool: defer ring allocation until pool creation

2017-01-10 Thread Bill Fischofer
To avoid excessive memory overhead for pools, defer the allocation of the pool ring until odp_pool_create() is called. This keeps pool memory overhead proportional to the number of pools actually in use rather than the architected maximum number of pools. This patch addresses Bug https://bugs.lina

Re: [lng-odp] [API-NEXT PATCHv4] linux-generic: pool: defer ring allocation until pool creation

2017-01-11 Thread Savolainen, Petri (Nokia - FI/Espoo)
Reviewed-by: Petri Savolainen > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bill > Fischofer > Sent: Tuesday, January 10, 2017 6:00 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [API-NEXT PATCHv4] linux-generic

Re: [lng-odp] [API-NEXT PATCHv4] linux-generic: pool: defer ring allocation until pool creation

2017-01-11 Thread Maxim Uvarov
y 10, 2017 6:00 PM >> To: lng-odp@lists.linaro.org >> Subject: [lng-odp] [API-NEXT PATCHv4] linux-generic: pool: defer ring >> allocation until pool creation >> >> To avoid excessive memory overhead for pools, defer the allocation of >> the pool ring until odp_pool_c