From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f70.google.com (mail-pg0-f70.google.com [74.125.83.70]) by kanga.kvack.org (Postfix) with ESMTP id 29D7A6B026B for ; Thu, 21 Sep 2017 05:00:05 -0400 (EDT) Received: by mail-pg0-f70.google.com with SMTP id j16so10592537pga.6 for ; Thu, 21 Sep 2017 02:00:05 -0700 (PDT) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0080.outbound.protection.outlook.com. [104.47.34.80]) by mx.google.com with ESMTPS id p20si684396pfk.425.2017.09.21.02.00.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 02:00:04 -0700 (PDT) From: Ganapatrao Kulkarni Subject: [PATCH 0/4] numa, iommu/smmu: IOMMU/SMMU driver optimization for NUMA systems Date: Thu, 21 Sep 2017 14:29:18 +0530 Message-Id: <20170921085922.11659-1-ganapatrao.kulkarni@cavium.com> MIME-Version: 1.0 Content-Type: text/plain Sender: owner-linux-mm@kvack.org List-ID: To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-mm@kvack.org Cc: Will.Deacon@arm.com, robin.murphy@arm.com, lorenzo.pieralisi@arm.com, hanjun.guo@linaro.org, joro@8bytes.org, vbabka@suse.cz, akpm@linux-foundation.org, mhocko@suse.com, Tomasz.Nowicki@cavium.com, Robert.Richter@cavium.com, jnair@caviumnetworks.com, gklkml16@gmail.com Adding numa aware memory allocations used for iommu dma allocation and memory allocated for SMMU stream tables, page walk tables and command queues. With this patch, iperf testing on ThunderX2, with 40G NIC card on NODE 1 PCI shown same performance(around 30% improvement) as NODE 0. Ganapatrao Kulkarni (4): mm: move function alloc_pages_exact_nid out of __meminit numa, iommu/io-pgtable-arm: Use NUMA aware memory allocation for smmu translation tables iommu/arm-smmu-v3: Use NUMA memory allocations for stream tables and comamnd queues iommu/dma, numa: Use NUMA aware memory allocations in __iommu_dma_alloc_pages drivers/iommu/arm-smmu-v3.c | 57 +++++++++++++++++++++++++++++++++++++----- drivers/iommu/dma-iommu.c | 17 +++++++------ drivers/iommu/io-pgtable-arm.c | 4 ++- include/linux/gfp.h | 2 +- mm/page_alloc.c | 3 ++- 5 files changed, 67 insertions(+), 16 deletions(-) -- 2.9.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org