From: Mike Stolarchuk <mike.stolarchuk@bigswitch.com>
To: dev@dpdk.org
Subject: [dpdk-dev] What's the point of RTE_MBUF_PREFETCH_TO_FREE()?
Date: Fri, 3 Nov 2017 13:28:18 -0700 [thread overview]
Message-ID: <CA+Qp4XwDBVuFBoJe2xsw74PV+=K_2F5XxfOw9UqoLH072npbiQ@mail.gmail.com> (raw)
It seems to be used to prefetch the mbuf in preparation for a free of an
mbuf.
But RTE_MBUF_PREFETCH_TO_FREE() currently does a prefetch for the
ffirst cache line in the mbuf, but doesn't a free do a put to the mbuf's
mempool?
And isn't the mempool reference in the mbuf's second cache line?
regards,
mts.
next reply other threads:[~2017-11-03 20:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-03 20:28 Mike Stolarchuk [this message]
2017-11-06 9:25 ` Bruce Richardson
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='CA+Qp4XwDBVuFBoJe2xsw74PV+=K_2F5XxfOw9UqoLH072npbiQ@mail.gmail.com' \
--to=mike.stolarchuk@bigswitch.com \
--cc=dev@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).