> -----Original Message-----
> From: Stephen Hemminger <step...@networkplumber.org>
> Sent: Thursday, February 20, 2025 4:12 PM
> To: lihuisong (C) <lihuis...@huawei.com>
> Cc: dev@dpdk.org; tho...@monjalon.net; david.h...@intel.com;
> anatoly.bura...@intel.com; sivaprasad.tumm...@amd.com;
> liuyonglong <liuyongl...@huawei.com>
> Subject: Re: [PATCH] power: use hugepage memory for queue list entry structure
>
> On Thu, 20 Feb 2025 17:01:53 +0800
> "lihuisong (C)" <lihuis...@huawei.com> wrote:
>
> > > The queue_list_entry structure data is used in rx_callback of io path
> > > when enable PMD Power Management. However its memory is currently from
> > > normal heap memory. For better performance, use hugepage memory to
> > > replace it.
> > >
> > > Signed-off-by: Huisong Li <lihuis...@huawei.com>
>
> How is that in a hot path where this could matter?
AFAIU - it is used in RX/TX callbacks that power library installs,
so I presume will get hit on every eth_rx_burst/tx_burst calls.
> The safety rails in rte_malloc() are much less than regular malloc().
> I prefer some degree of safety from checkers and malloc library internals.
Didn't get your point - what's suddenly wrong with rte_malloc()?