Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7742752ybl; Tue, 24 Dec 2019 08:08:15 -0800 (PST) X-Google-Smtp-Source: APXvYqx20mRD1bmsP3kstG7Vyj8Z/NlEQbolPXI6mWp1xPQA4d/5zaJZFow6uGMkH3rpKU8n1tTa X-Received: by 2002:a9d:6251:: with SMTP id i17mr39975490otk.14.1577203695752; Tue, 24 Dec 2019 08:08:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577203695; cv=none; d=google.com; s=arc-20160816; b=IBUzKzRnYaQB0HcoQwZlQ392C0JANJVg+Bxh/SJvDiIPLXnyl63nuR99E7J3eYfHdU XNqaqchN0JN1bgFudS1CGevk/Var/7RfnB0J01F3+bHwJ5fXlSgUPeczKvd6obw8X+cZ 2QkYPAESNmWvHecR0SCNcnJ4CIKOa27suOm2qI4WFqPvhO0faChSv7xTXjEzJQ6OYgwt //CJxRC/fogI0TF2mL9DdS7EFhQR+Slh21NsRxO6VTSzy3e2Y62QyaSGmHz0Vy7pSiZq XpeI6+ontCodx7XMxVtwi+Z0yPYfCocyool9iG/+APVfsaaIsA2x5Ezg1/BeXquENMVS DcfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=YWsnGUwLQy1fCYTio28U1e+bq8tf4RG5vs287No2BFM=; b=08SGd9gqqNYkILIi87nWB6xyHw29TRsO4gI/mHIDkwIpJU4cortm5xpnICUK3aUxtN AnymJY1FeVH5okTsUQQDUvNyHQJqAE8pzUAealS61zoITbAaFTGlOIti80nmhRqjrpCw 1X5eanZHOIzrbYyshslUFVSJTUbQTxmZyOY0Mfg6IOgBE7bd/f/CLyaujzzdliGnOCEC qe6/9frpQyV64FHSCDseMM51DqC11Sw++xlZLyzKQ85+M2Jnf547nfVuab/W/eCdfJfC 93roJ3oYxm2R3NkRqTOX7r9OoAAH/IQSvZ4dTFTPLc2trBqFyLqU75/ltrc38iCgvzY7 0m8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PkZ58eBf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j24si8776351otk.76.2019.12.24.08.07.40; Tue, 24 Dec 2019 08:08:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PkZ58eBf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726224AbfLXQCo (ORCPT + 99 others); Tue, 24 Dec 2019 11:02:44 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:53708 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726201AbfLXQCo (ORCPT ); Tue, 24 Dec 2019 11:02:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YWsnGUwLQy1fCYTio28U1e+bq8tf4RG5vs287No2BFM=; b=PkZ58eBfvTMs20Ry90HGKCaK6 7GZhLXrPI98LJexGwE+IWpuQ59dSkj+2WA0jtTs/GmaY43DdahfyVZZNB363nP42snR+4YLfIL41T eowZCtbx9U9z4mAxE2fpBUaceagbT88h/9pg3V4hA6H0ENo4VkUapJR4ZOxsmy5OAkaHP0nkt/rGO AFt9LQgUsUQWiWtjqCBHYVsFgl0gXPEk9T4OxK+lGe7DlK1l9EDQMyPpJ4uX4ZNSX5d0T5s/q7u5a czEw/on/8D+MZt89C68JnOj7CxbMN/Hp4rTQlwA0EL7tpFybB6HrccVl+a9MhJen7Pq/2366kyBR4 YCl4irOdQ==; Received: from [2601:1c0:6280:3f0::fee9] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijmdv-0007Iu-Ly; Tue, 24 Dec 2019 16:02:43 +0000 Subject: Re: [RFC PATCH] riscv: Add numa support for riscv64 platform To: Greentime Hu , green.hu@gmail.com, greentime@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20191224085544.24960-1-greentime.hu@sifive.com> From: Randy Dunlap Message-ID: <5762c1c1-4078-0647-27fe-6d28f6bc8e9a@infradead.org> Date: Tue, 24 Dec 2019 08:02:42 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191224085544.24960-1-greentime.hu@sifive.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/24/19 12:55 AM, Greentime Hu wrote: > +# Common NUMA Features > +config NUMA > + bool "Numa Memory Allocation and Scheduler Support" > + select OF_NUMA > + select ARCH_SUPPORTS_NUMA_BALANCING > + depends on SPARSEMEM > + help > + Enable NUMA (Non Uniform Memory Access) support. (Non-Uniform Memory Access) please. > + > + The kernel will try to allocate memory used by a CPU on the > + local memory of the CPU and add some more > + NUMA awareness to the kernel. > + -- ~Randy