DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] What's the point of RTE_MBUF_PREFETCH_TO_FREE()?
@ 2017-11-03 20:28 Mike Stolarchuk
  2017-11-06  9:25 ` Bruce Richardson
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Stolarchuk @ 2017-11-03 20:28 UTC (permalink / raw)
  To: dev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-06  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-03 20:28 [dpdk-dev] What's the point of RTE_MBUF_PREFETCH_TO_FREE()? Mike Stolarchuk
2017-11-06  9:25 ` Bruce Richardson

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).