[dpdk-dev] [PATCH] eal: check for interrupt context
Burakov, Anatoly
anatoly.burakov at intel.com
Mon Nov 18 11:18:38 CET 2019
On 17-Nov-19 7:36 PM, Harman Kalra wrote:
> Added an API to check if current execution is in interrupt
> context. This will be helpful to handle nested interrupt cases.
>
> Signed-off-by: Harman Kalra <hkalra at marvell.com>
> ---
This is a great idea. It would be nice to add checks for is_intr()
inside rte_malloc routines, as currently attempting to rte_malloc (or
allocate anything) may lead to a deadlock. Is this intended for this
release, or future one?
--
Thanks,
Anatoly
More information about the dev
mailing list