Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp307525pxy; Wed, 21 Apr 2021 03:36:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxdTU4e6bGrzGnFLKmad3fNqy6b3hLTc+oIkzoj2oF2DAzxCmiUkgxLKjeL6PHAW2b1gUg X-Received: by 2002:a17:906:29ca:: with SMTP id y10mr32994191eje.250.1619001372153; Wed, 21 Apr 2021 03:36:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619001372; cv=none; d=google.com; s=arc-20160816; b=fGB6oHbPYfhHRVqC7s/hKDpw+jMWP+kO3LZRzBjrQws+b6iTtCDhvxEhKs18cir29h fSGMH+2kV9BhRYoTSvIb8uA30iszsLn/gxMzQqRLSzyr0YPxEEhEQfMitx4M/Sh2N1x+ eqW9WhT/ue51XhESltQPkxI2LVti09Ixqq1cw8Y6VaKBYEpz/h/WVg7SAvPhe76bfoic FgBBlyHXmqOgWZv65owwnGzCi+TFofbGoSQSCtH/REO1OtSDY2w+ZUjAKLdN2ROZcCVU N/0qb+9p59WfsLYyR7MG2EOEEU37SFRw6rwND37zqfgqTSOszlmMqjKn+gNper9nk74p kaYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=9g/WAw7X8UxdiGM/2EQzbYxb0rZOPJPl1ajMliX7BvU=; b=zeOvevaRsJU7LcFgEqkcge0zhqwmAx5SYucj4z6CevFyqxXOqM81u5NEtJWd70MGUj K2NyDyfV2TYMbQQueovi8muiXBDWl0/B4alV5/exKXYkweW0vYtD1xTInXdSkDWI2ZmU XF5O2belW8JtazIwNssTDHKWHzPySFuzRdt3uUsvVzRkHMbyARKO9tK1bdQXOEqOatsX ernkx9hvn3on0BAzF6ZPiNO0yWOEyxlZIB/tNI4nmU5itnw4xeqqrmsJdGHB5iO5kLUx OZsTlYN8GebT92eX9FLmYD5QG85rAK0joDvX5m+saBH+Z8pB9w/byE5gdVFzdRxVJHiP oDMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gt30si1410988ejc.360.2021.04.21.03.35.49; Wed, 21 Apr 2021 03:36:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239483AbhDUK2M (ORCPT + 99 others); Wed, 21 Apr 2021 06:28:12 -0400 Received: from mx2.suse.de ([195.135.220.15]:38132 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234669AbhDUK1o (ORCPT ); Wed, 21 Apr 2021 06:27:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 4BCBCAEE7; Wed, 21 Apr 2021 10:27:11 +0000 (UTC) From: Oscar Salvador To: Andrew Morton Cc: David Hildenbrand , Michal Hocko , Anshuman Khandual , Vlastimil Babka , Pavel Tatashin , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Oscar Salvador Subject: [PATCH v10 7/8] x86/Kconfig: Introduce ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE Date: Wed, 21 Apr 2021 12:27:00 +0200 Message-Id: <20210421102701.25051-8-osalvador@suse.de> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20210421102701.25051-1-osalvador@suse.de> References: <20210421102701.25051-1-osalvador@suse.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable x86_64 platform to use the MHP_MEMMAP_ON_MEMORY feature. Signed-off-by: Oscar Salvador Reviewed-by: David Hildenbrand Acked-by: Michal Hocko --- arch/x86/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2792879d398e..9f0211df1746 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2433,6 +2433,9 @@ config ARCH_ENABLE_MEMORY_HOTREMOVE def_bool y depends on MEMORY_HOTPLUG +config ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE + def_bool y + config USE_PERCPU_NUMA_NODE_ID def_bool y depends on NUMA -- 2.16.3