rds-ib-use-kmalloc_array_node.patch removed from -mm tree
The patch titled
Subject: net/rds/ib_fmr.c: use kmalloc_array_node()
has been removed from the -mm tree. Its filename was
rds-ib-use-kmalloc_array_node.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Johannes Thumshirn <[email protected]>
Subject: net/rds/ib_fmr.c: use kmalloc_array_node()
Now that we have a NUMA-aware version of kmalloc_array() we can use it instead of kmalloc_node() without an overflow check in the size calculation.
Signed-off-by Johannes Thumshirn <[email protected]>
Reviewed-by Christoph Lameter <[email protected]>
Cc Santosh Shilimkar <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Damien Le Moal <[email protected]>
Cc David Rientjes <[email protected]>
Cc Doug Ledford <[email protected]>
Cc Hal Rosenstock <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Joonsoo Kim <[email protected]>
Cc Mike Marciniszyn <[email protected]>
Cc Pekka Enberg <[email protected]>
Cc Sean Hefty <[email protected]>
Cc Vlastimil Babka <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
net/rds/ib_fmr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/rds/ib_fmr.c renamed from net/rds/ib_fmr.c~rds-ib-use-kmalloc_array_node +2 -2
@@ -139,8 +139,8 @@ static int rds_ib_map_fmr(struct rds_ib_return -EINVAL ; } - dma_pages =kmalloc_node (sizeof (u64) * page_cnt,GFP_ATOMIC , -rdsibdev_to_node (rds_ibdev)); + dma_pages =kmalloc_array_node (sizeof (u64), page_cnt,GFP_ATOMIC , +rdsibdev_to_node (rds_ibdev));if (!dma_pages) {ib_dma_unmap_sg (dev, sg, nents,DMA_BIDIRECTIONAL );return -ENOMEM ;
_
Patches currently in -mm which might be from [email protected] are