All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: ankit kumar <akprajapati616-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: Is rte_mempool library is multi-thread safe ???
Date: Thu, 19 Dec 2013 18:04:31 +0100	[thread overview]
Message-ID: <201312191804.31322.thomas.monjalon@6wind.com> (raw)
In-Reply-To: <CAG9qd2pi-Q7LawBymDSsAY3054FUqf7RK0L61oDrsKVY_Q4S0Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hello,

19/12/2013 11:57, ankit kumar :
> It was working fine but i am not sure that memory allocation &
> deallocation in rte_mempool library, is multi-thread safe or not.

From http://dpdk.org/doc/api/rte__mempool_8h.html:
	"the mempool implementation is not preemptable"
There is more explanations in this email:
	http://dpdk.org/ml/archives/dev/2013-August/000402.html

-- 
Thomas

  parent reply	other threads:[~2013-12-19 17:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-19 10:57 Is rte_mempool library is multi-thread safe ??? ankit kumar
     [not found] ` <CAG9qd2pi-Q7LawBymDSsAY3054FUqf7RK0L61oDrsKVY_Q4S0Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-12-19 17:04   ` Thomas Monjalon [this message]
     [not found]     ` <201312191804.31322.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-12-19 21:30       ` Peter Chen
     [not found]         ` <CAMGYKAfuRdhuydXixJ-ycTQcksRqSKOmFpz8fJGuNZEob04E6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-12-20 21:28           ` Olivier MATZ

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=201312191804.31322.thomas.monjalon@6wind.com \
    --to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
    --cc=akprajapati616-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.