Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4643767pxb; Tue, 5 Oct 2021 07:27:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpoJTNFH624EGJnF1+JsaCnkz0MGnkDeO77CaSQ3oYHzdQZfxiE2ewtBGdkzoStuAzzXWJ X-Received: by 2002:a17:906:7847:: with SMTP id p7mr24022003ejm.335.1633444030642; Tue, 05 Oct 2021 07:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633444030; cv=none; d=google.com; s=arc-20160816; b=KL+eRKihQ4WSQwkyq+J3cSH6I4GL3uLiaDIc7qNKk3sMboiXKmHzuxh7/E0iyEgy99 FOObIHGMZEGDj+1rZoDbsd8q36zNITBEOpjPyHxioiLJ/9zfM8zkSIgNJ6lAjgiXY0hW t6u91qA8aELoumxF8VMf3p7OXEahFfe3ysF2O1cKQ+NQ5vRiSuuTp3G0FBlUHCc2VRbH aJQHOavVAbGRuu0h0nShFTISoogtdm9Y29KxM20EXoSmgGIvLZnS9IRvUQFXna/gAIV0 OswC+P5+YZ0LHKOEYZNtK/zN/QcVreyTVTPU25FnTUO2oJywFo5kAPJjRSSTxwvyj+ZO LKAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=xF+jNwW5BFEV+lIRF79mZl5w3T2WmTQ1n+ANOqGSM58=; b=pXl0EQbPFb1skD8UYtCeRitEhoNz1A2wvk+RA5+e1m2xWVCjgCR/bBq48aq5skpHLB sxj0ZgVuuD5ckFkzYv2sZ8ryTthic9jPVGCMdwsA6qxMbg5FhgZBum1CTOsNmdRk4sEb KgEUPVR15hfJOeR4OLyV1cT+Dp3l94T46KGDGbkzPZvtwu8833Jxgqs2PgP+c2f/ZpWI IN1RA4M7CdvoWaw01H8abnytdKptCUWvkZv3rkFNFeiPwbKiHe0hJWYE3k5v8qtiWPzj lqLfpNGh6nJOTr0pMMubPS+wjj0U0XvrbSVyuzgS1xzJaUFiCqwZfhUsB2yk2QoRxPBf t+WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=G6WOlcyf; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si3801467ejc.488.2021.10.05.07.26.44; Tue, 05 Oct 2021 07:27:10 -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=@linuxfoundation.org header.s=google header.b=G6WOlcyf; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235306AbhJEOYt (ORCPT + 99 others); Tue, 5 Oct 2021 10:24:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234823AbhJEOYs (ORCPT ); Tue, 5 Oct 2021 10:24:48 -0400 Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06730C061753 for ; Tue, 5 Oct 2021 07:22:58 -0700 (PDT) Received: by mail-oo1-xc2a.google.com with SMTP id i26-20020a4ad09a000000b002a9d58c24f5so6454691oor.0 for ; Tue, 05 Oct 2021 07:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=xF+jNwW5BFEV+lIRF79mZl5w3T2WmTQ1n+ANOqGSM58=; b=G6WOlcyfrBgIu0kBXl6Bx3ZoUEQr6/41sXdy6lq/sSgNafvyAemd+dwNdapXnV3vQ4 UKifj/kxPStJlaVPMTA9ab+lLDZY4sQ2+f2wY++qX7vRBaVpW5zNTqa9fFNe98irLV3S GVWYWVhmPK8KnUJNQ+LADA8ROn56XNvBR+c+g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xF+jNwW5BFEV+lIRF79mZl5w3T2WmTQ1n+ANOqGSM58=; b=uTlEQu8zXznEc+GuysEcrubIUF7KqEGbsl4rGj9xw9ePRMh+qsDVswHJoSI6k7vcLS EoP+ZYr9+QRuHs2+qnxpx0ufrmdXfMmNMm/cW5D67dPaYtHl/c8+OQ3CuDyD9Gm/Bwbg 6A5Vi//l1uOyMZwBd/QdE4NuGVNYfrCcQvJ5xc8dG7GH6aqoOWjEm5U8jmnLrh11Igzo YKJt7UcuuG9X6jE1s4LggWMWGdVjq65PSuKRLb1ogt7wuddC52OMknxB1TvNldF+Dt/F oNAldEwjSTRcl2WKtsOQ+QIqsy/JidNBuwWv1F21BwmWnqT6UBYCibDVQpk3wKXV35YD aBRw== X-Gm-Message-State: AOAM531orsVVqhaz7BO3x61l97lE3AZ7qePllvyeQ6f8LZsuFV4IiGRB pTXHaGGmfoUwD0YfTt8dI71GHg== X-Received: by 2002:a05:6820:358:: with SMTP id m24mr13754323ooe.34.1633443777284; Tue, 05 Oct 2021 07:22:57 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id v9sm1382374oth.62.2021.10.05.07.22.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Oct 2021 07:22:56 -0700 (PDT) Subject: Re: [PATCH v1 2/6] mm/memory_hotplug: remove CONFIG_MEMORY_HOTPLUG_SPARSE To: David Hildenbrand , linux-kernel@vger.kernel.org Cc: 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 , Oscar Salvador , 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, Shuah Khan References: <20210929143600.49379-1-david@redhat.com> <20210929143600.49379-3-david@redhat.com> From: Shuah Khan Message-ID: <0489ea97-0a78-0299-335a-ca1166bb2735@linuxfoundation.org> Date: Tue, 5 Oct 2021 08:22:54 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210929143600.49379-3-david@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/29/21 8:35 AM, David Hildenbrand wrote: > CONFIG_MEMORY_HOTPLUG depends on CONFIG_SPARSEMEM, so there is no need for > CONFIG_MEMORY_HOTPLUG_SPARSE anymore; adjust all instances to use > CONFIG_MEMORY_HOTPLUG and remove CONFIG_MEMORY_HOTPLUG_SPARSE. > > Signed-off-by: David Hildenbrand > --- > arch/powerpc/include/asm/machdep.h | 2 +- > arch/powerpc/kernel/setup_64.c | 2 +- > arch/powerpc/platforms/powernv/setup.c | 4 ++-- > arch/powerpc/platforms/pseries/setup.c | 2 +- > drivers/base/Makefile | 2 +- > drivers/base/node.c | 9 ++++----- > drivers/virtio/Kconfig | 2 +- > include/linux/memory.h | 18 +++++++----------- > include/linux/node.h | 4 ++-- > lib/Kconfig.debug | 2 +- > mm/Kconfig | 4 ---- > mm/memory_hotplug.c | 2 -- > tools/testing/selftests/memory-hotplug/config | 1 - > 13 files changed, 21 insertions(+), 33 deletions(-) > > { > diff --git a/tools/testing/selftests/memory-hotplug/config b/tools/testing/selftests/memory-hotplug/config > index a7e8cd5bb265..1eef042a31e1 100644 > --- a/tools/testing/selftests/memory-hotplug/config > +++ b/tools/testing/selftests/memory-hotplug/config > @@ -1,5 +1,4 @@ > CONFIG_MEMORY_HOTPLUG=y > -CONFIG_MEMORY_HOTPLUG_SPARSE=y > CONFIG_NOTIFIER_ERROR_INJECTION=y > CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m > CONFIG_MEMORY_HOTREMOVE=y > For Kselftest change: Acked-by: Shuah Khan thanks, -- Shuah