[PATCH] mem: explicitly initialise shared locks
    David Marchand 
    david.marchand at redhat.com
       
    Thu Feb  1 16:36:27 CET 2024
    
    
  
On Fri, Oct 27, 2023 at 10:01 AM David Marchand
<david.marchand at redhat.com> wrote:
>
> Locks in the DPDK shared memory were not initialised so far.
> This is not really a problem as the early_mem_config structure is stored
> in the bss section (and so set to 0 by default).
> Yet, for consistency, explicitly initialise those locks with relevant
> initialiser macros.
>
> Suggested-by: Thomas Monjalon <thomas at monjalon.net>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Acked-by: Chengwen Feng <fengchengwen at huawei.com>
Applied, thanks.
-- 
David Marchand
    
    
More information about the dev
mailing list