[rds-devel] [PATCH net-next] net/rds: Use DMA memory pool allocation for rds_header

santosh.shilimkar at oracle.com santosh.shilimkar at oracle.com
Mon Sep 30 11:34:49 PDT 2019


On 9/30/19 2:08 AM, Ka-Cheong Poon wrote:
> Currently, RDS calls ib_dma_alloc_coherent() to allocate a large piece
> of contiguous DMA coherent memory to store struct rds_header for
> sending/receiving packets.  The memory allocated is then partitioned
> into struct rds_header.  This is not necessary and can be costly at
> times when memory is fragmented.  Instead, RDS should use the DMA
> memory pool interface to handle this.
> 
> Suggested-by: Håkon Bugge <haakon.bugge at oracle.com>
> Signed-off-by: Ka-Cheong Poon <ka-cheong.poon at oracle.com>
> ---
Thanks for getting this out on the list Ka-Cheong.

Acked-by: Santosh Shilimkar <santosh.shilimkar at oracle.com>



More information about the rds-devel mailing list