Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1191730pxb; Thu, 7 Oct 2021 02:45:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/MAy1sYVHvxGPlsJ43CzIV9RUo9yXy93dqLxK9+vHUr3vYNynWjTXYgpu5Q2ovMWoTBa+ X-Received: by 2002:a17:90a:53:: with SMTP id 19mr4152784pjb.159.1633599942610; Thu, 07 Oct 2021 02:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633599942; cv=none; d=google.com; s=arc-20160816; b=dwijW7jqJPPyJpx1dJlTxscRHFnmzopQmQnqgHH/62LP4VUi4gfhqkzjnqBdPXvZld 5uB7SVop4659/dn1tW93e6Q3K3LqQwPWPsb9dtmtDX/Gj4VTV6il3Z3qNd1Aut8hYYTI b5ZFUnxiSsNcGdfZhRMj1q19FyAPfVM/1L1S0/mEUeRJ6v94SzrGlNDQYLM6zWEA44bm YgYQdySVJ5vCvuQAXootfeud6AC5zDb3sM7Nnfkvrt0l4iWktyNbkDff88aOP8pCVKv1 PsCAOR2eK+Fra5tuupzRXRFlsvPgVgLCjvXbNMeafWWwcQMlcF7VzPqxZ1n3hRuVDw2o ysBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=TvTy7OIFpMRsbso1NF1f6Ks+BgvmrJ6wkv3NW7NfJyY=; b=k+bYlnUDXiNYZwEZ3YQ50zkkfVnw083fkMOxvNuQHfE0k4N7In4rJ0oqTii4RJ6JGu LvX/PuuXSEGBoI9KpuhyozNBfxwExXleThbc8opLnwkJLLK6jDaRMtf3Vqm2J0EOhkAx uYH94ptK0hp2GJd4acALrV2pytoeIsIGCJu5I1k8ZBwLO3+C6Qw1ohNL1dpRWnoBF/dd 4Q5sMsAlLZCpLTLtljF+XzYtnPcA3DTeq9ShO3Na5X/Fz0MLEKI2viiC6V45HNLdgvPo VJrewKvxszjmDU5RvG236pXJBB3IZksPV/ripyl/ohDtla5rgXDKy305zcobgMntcYJF LxKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=GNTEZSz7; dkim=neutral (no key) header.i=@suse.de; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si28521983pll.315.2021.10.07.02.45.29; Thu, 07 Oct 2021 02:45:42 -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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=GNTEZSz7; dkim=neutral (no key) header.i=@suse.de; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240212AbhJGJEL (ORCPT + 99 others); Thu, 7 Oct 2021 05:04:11 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:48562 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231661AbhJGJEK (ORCPT ); Thu, 7 Oct 2021 05:04:10 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 30EC22262B; Thu, 7 Oct 2021 09:02:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1633597335; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TvTy7OIFpMRsbso1NF1f6Ks+BgvmrJ6wkv3NW7NfJyY=; b=GNTEZSz7kgdAFwe28alhJ/eP+02Z1EOihzX+n9vgBwes/WRv9pASKWGhtrUDxgfMG1b8bt eD1XA2PxyYXX9LAPbMAWcHuixO0YxRCluf3P/ht02R7TKYo50KBLYUtBCNMgLJEKjh6WKV 20A4InA3XI2jHfLnQHnOad/06SY09Fg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1633597335; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TvTy7OIFpMRsbso1NF1f6Ks+BgvmrJ6wkv3NW7NfJyY=; b=LnmiiJ98gJZKCmXY5/iYk60e5PM03lAS4VN2Ge0taIvYAilG9n+pj9T7gNMBcMdDsc9obF rnsZE5qa74+KAUCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 34A8B13B1B; Thu, 7 Oct 2021 09:02:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id QJzlB5W3XmG6KAAAMHmgww (envelope-from ); Thu, 07 Oct 2021 09:02:13 +0000 Date: Thu, 7 Oct 2021 11:02:11 +0200 From: Oscar Salvador To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, Andrew Morton , Jonathan Corbet , Alex Shi , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Greg Kroah-Hartman , "Rafael J. Wysocki" , "Michael S. Tsirkin" , Jason Wang , Shuah Khan , Michal Hocko , Mike Rapoport , x86@kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v1 3/6] mm/memory_hotplug: restrict CONFIG_MEMORY_HOTPLUG to 64 bit Message-ID: References: <20210929143600.49379-1-david@redhat.com> <20210929143600.49379-4-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210929143600.49379-4-david@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 29, 2021 at 04:35:57PM +0200, David Hildenbrand wrote: > 32 bit support is broken in various ways: for example, we can online > memory that should actually go to ZONE_HIGHMEM to ZONE_MOVABLE or in > some cases even to one of the other kernel zones. > > We marked it BROKEN in commit b59d02ed0869 ("mm/memory_hotplug: disable the > functionality for 32b") almost one year ago. According to that commit > it might be broken at least since 2017. Further, there is hardly a sane use > case nowadays. > > Let's just depend completely on 64bit, dropping the "BROKEN" dependency to > make clear that we are not going to support it again. Next, we'll remove > some HIGHMEM leftovers from memory hotplug code to clean up. > > Signed-off-by: David Hildenbrand Reviewed-by: Oscar Salvador > --- > mm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/Kconfig b/mm/Kconfig > index ea8762cd8e1e..88273dd5c6d6 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -125,7 +125,7 @@ config MEMORY_HOTPLUG > select MEMORY_ISOLATION > depends on SPARSEMEM > depends on ARCH_ENABLE_MEMORY_HOTPLUG > - depends on 64BIT || BROKEN > + depends on 64BIT > select NUMA_KEEP_MEMINFO if NUMA > > config MEMORY_HOTPLUG_DEFAULT_ONLINE > -- > 2.31.1 > > -- Oscar Salvador SUSE Labs