> > +           /*  memory_hotplug_lock is taken in rte_eal_init(), so it's
> > +            *  safe to call thread-unsafe version.
> > +            */
>
> Nit: the lock is really taken in rte_eal_memory_init().
> Probably "The lock is held during initialization, so..."
> would more robust against code changes and differences between platforms.

It was previously located differently, but in the current version, it has been 
shifted to rte_eal_init(). It might be worth noting this to ensure that if 
there are further code changes in the future, the locking problem becomes more 
apparent. We had discussed this in the bug report.

Reply via email to