[PATCH v2] eal/linux: register mp hotplug callback after memory init

David Marchand david.marchand at redhat.com
Thu Jun 8 10:08:24 CEST 2023


On Thu, Jun 8, 2023 at 9:26 AM Zhihong Wang
<wangzhihong.wzh at bytedance.com> wrote:
>
> Secondary would crash if it tries to handle mp requests before memory
> init, since globals such as eth_dev_shared_data_lock are not accessible
> to it at this moment.
>
> Signed-off-by: Zhihong Wang <wangzhihong.wzh at bytedance.com>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

Forgot to mention that we need a Fixes: tag.
I added it and applied, thanks.


-- 
David Marchand



More information about the dev mailing list