[dpdk-dev] [PATCH v7 0/7] vhost: Fix and improve NUMA reallocation
    Xia, Chenbo 
    chenbo.xia at intel.com
       
    Wed Jun 30 13:53:42 CEST 2021
    
    
  
> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin at redhat.com>
> Sent: Wednesday, June 30, 2021 12:11 AM
> To: dev at dpdk.org; Xia, Chenbo <chenbo.xia at intel.com>;
> david.marchand at redhat.com
> Cc: Maxime Coquelin <maxime.coquelin at redhat.com>
> Subject: [PATCH v7 0/7] vhost: Fix and improve NUMA reallocation
> 
> This patch series first fixes missing reallocations of some
> Virtqueue and device metadata.
> 
> Then, it improves the numa_realloc function by using
> rte_realloc_socket API that takes care of the memcpy &
> freeing. The VQs NUMA IDs are also saved in the VQ metadata
> and used for every allocations so that all allocations
> before NUMA realloc are on the same VQ, later ones are
> allocated on the proper one.
> 
> Finally inflight feature metada are converted from calloc()
> to rte_zmalloc_socket() and their reallocation is handled
> in numa_realloc().
> --
> 2.31.1
Series applied to next-virtio/main with all things fixed.
Thanks!
    
    
More information about the dev
mailing list