From: Thomas Monjalon <thomas@monjalon.net>
To: Gage Eads <gage.eads@intel.com>
Cc: stable@dpdk.org, dev@dpdk.org, arybchenko@solarflare.com,
olivier.matz@6wind.com
Subject: Re: [dpdk-stable] [PATCH v2] doc: add multi-proc shared lib mempool note
Date: Thu, 04 Jul 2019 22:53:08 +0200 [thread overview]
Message-ID: <4898883.H8BmqfKJlA@xps> (raw)
In-Reply-To: <20190620220735.6583-1-gage.eads@intel.com>
21/06/2019 00:07, Gage Eads:
> The mempool library assigns handler ops indexes based on the dynamic load
> order of mempool handlers. Indexes are used so a mempool can be used by
> multiple processes, but this only works if all processes agree on the
> mapping from index to mempool handler.
>
> When using the '-d' argument, it's possible for different processes to load
> mempool handlers in different orders, and thus have different
> index->handler mappings. Using a mempool in multiple of such processes will
> result in undefined behavior.
>
> This commit adds a note to the mempool library programmer's guide warning
> users against this.
>
> Fixes: 449c49b93a6b ("mempool: support handler operations")
> Cc: stable@dpdk.org
>
> Signed-off-by: Gage Eads <gage.eads@intel.com>
> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Applied, thanks
prev parent reply other threads:[~2019-07-04 20:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-18 18:48 [dpdk-stable] [PATCH] " Gage Eads
2019-06-20 18:01 ` Andrew Rybchenko
2019-06-20 19:07 ` Eads, Gage
2019-06-21 7:25 ` Andrew Rybchenko
2019-06-20 22:07 ` [dpdk-stable] [PATCH v2] " Gage Eads
2019-07-04 20:53 ` 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=4898883.H8BmqfKJlA@xps \
--to=thomas@monjalon.net \
--cc=arybchenko@solarflare.com \
--cc=dev@dpdk.org \
--cc=gage.eads@intel.com \
--cc=olivier.matz@6wind.com \
--cc=stable@dpdk.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).