Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751695AbdF3Ivu (ORCPT ); Fri, 30 Jun 2017 04:51:50 -0400 Received: from foss.arm.com ([217.140.101.70]:38622 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751421AbdF3Ivt (ORCPT ); Fri, 30 Jun 2017 04:51:49 -0400 Subject: Re: [PATCH] irqchip: gicv3-its: Use NUMA aware memory allocation for ITS tables To: Ganapatrao Kulkarni , Shanker Donthineni References: <1498405569-463-1-git-send-email-shankerd@codeaurora.org> Cc: linux-kernel , linux-arm-kernel , Thomas Gleixner , Jason Cooper , Vikram Sethi , Jayachandran C , "ganapatrao.kulkarni@cavium.com" From: Marc Zyngier Organization: ARM Ltd Message-ID: Date: Fri, 30 Jun 2017 09:51:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1011 Lines: 27 On 30/06/17 04:01, Ganapatrao Kulkarni wrote: > On Fri, Jun 30, 2017 at 8:04 AM, Ganapatrao Kulkarni > wrote: >> Hi Shanker, >> >> On Sun, Jun 25, 2017 at 9:16 PM, Shanker Donthineni >> wrote: >>> The NUMA node information is visible to ITS driver but not being used >>> other than handling errata. This patch allocates the memory for ITS >>> tables from the corresponding NUMA node using the appropriate NUMA >>> aware functions. > > IMHO, the description would have been more constructive? > > "All ITS tables are mapped by default to NODE 0 memory. > Adding changes to allocate memory from respective NUMA NODES of ITS devices. > This will optimize tables access and avoids unnecessary inter-node traffic." But more importantly, I'd like to see figures showing the actual benefit of this per-node allocation. Given that both of you guys have access to such platforms, please show me the numbers! Thanks, M. -- Jazz is not dead. It just smells funny...