2015-05-20 10:32, Olivier MATZ:
> On 05/18/2015 05:35 PM, Zoltan Kiss wrote:
> > Otherwise cache_flushthresh can be bigger than n, and
> > a consumer can starve others by keeping every element
> > either in use or in the cache.
> >
> > Signed-off-by: Zoltan Kiss
>
> Acked-by: Olivier Matz
Appli
On 05/18/2015 05:35 PM, Zoltan Kiss wrote:
> Otherwise cache_flushthresh can be bigger than n, and
> a consumer can starve others by keeping every element
> either in use or in the cache.
>
> Signed-off-by: Zoltan Kiss
Acked-by: Olivier Matz
> ---
> v2: use macro for calculation, with proper c
Otherwise cache_flushthresh can be bigger than n, and
a consumer can starve others by keeping every element
either in use or in the cache.
Signed-off-by: Zoltan Kiss
---
v2: use macro for calculation, with proper casting
lib/librte_mempool/rte_mempool.c | 8 +---
lib/librte_mempool/rte_memp
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zoltan Kiss
> Sent: Monday, May 18, 2015 4:35 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v2] mempool: limit cache_size
>
> Otherwise cache_flushthresh can be bigger than n,
4 matches
Mail list logo