DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Zoltan Kiss <zoltan.kiss@linaro.org>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2] mempool: limit cache_size
Date: Wed, 20 May 2015 10:46:02 +0200	[thread overview]
Message-ID: <2853364.ZmbYvazaEZ@xps13> (raw)
In-Reply-To: <555C4683.7000702@6wind.com>

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 <zoltan.kiss@linaro.org>
> 
> Acked-by: Olivier Matz <olivier.matz@6wind.com>

Applied, thanks

> > +#define CALC_CACHE_FLUSHTHRESH(c)	\
> > +	((typeof (c))((c) *  CACHE_FLUSHTHRESH_MULTIPLIER))

I fixed spacing here:
+	((typeof(c))((c) * CACHE_FLUSHTHRESH_MULTIPLIER))

      reply	other threads:[~2015-05-20  8:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18 15:35 Zoltan Kiss
2015-05-18 15:51 ` Ananyev, Konstantin
2015-05-20  8:32 ` Olivier MATZ
2015-05-20  8:46   ` Thomas Monjalon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2853364.ZmbYvazaEZ@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=zoltan.kiss@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).