From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E557351C3D for ; Fri, 20 Mar 2026 19:34:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774035269; cv=none; b=AcoN43bhDgQbhQ/ky9Fw7lJPzwxAWjkuQUN7MLoWiex94UZpYnAoeI+QTSnNZBg3HSPbcU5Cgj3hxUN83IANhvcfY1JhC6HWAYAB90p5BN8M0iT/t0RPG3bPww2+vFqy2vttWn5B9NoMiAefWSkVK9h4ZnvdouddsB8W9v1eRas= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774035269; c=relaxed/simple; bh=5m2bYwrN2eGLC7rSfPRVQSTyLSSO2+I1HIaISDimxF4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Zy4uI2ZcuLowq8I/+WS0AlulOnZZvn17NgxtnuWNwd1ToPMC9IA6XHimMbVUxgzTSnF8hyZzVxBHxzfgIllN6z+kEnW6amtSLLw3VgCQvTktQARgTVcrqEHp7/Pl13n1hJRFlM6afhYnG8slGU+9Pph9RGa4N8ITGn302GKgh/o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=JZzzflq8; arc=none smtp.client-ip=209.85.219.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="JZzzflq8" Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-89c43c4c383so12371036d6.1 for ; Fri, 20 Mar 2026 12:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1774035267; x=1774640067; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=SPJ27qWkI5c96vhdp37WS6c9O6xFfPoS9NHL0cnjclQ=; b=JZzzflq8UixdxASX1/1+d/MzHdzQN2TSUaWgYphQs2l9SAC6aZK0jxRJKl4UVMJcX1 ePUFE23HCSI5vNO44MxM9+IZaUTudGcCwEfcb9NaDOh94jMzTndN/udMi/Vb4v1X9NeX wMQUq7Q3QV6nBaC0ugE14JmU3rCj5MpVAfinUC6SeFney3im6K+C3MC16nPbhtN4hXfk uE+kHIzTgsA6sJgjWpAa4YKe+HC4sD8dM2kZMHdEwHmSpAl311zmVNiodwm4jdPsaMdG bbBwInkIop1Egod6XB3TqvooPPPDnSNFuij1De/Iao95RRz7NQwqI0z2jT7IilSpkuus QC2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774035267; x=1774640067; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SPJ27qWkI5c96vhdp37WS6c9O6xFfPoS9NHL0cnjclQ=; b=VsK9RoFe9xCyzdqqd82qy3brxbVTScpf/41CwWgiUbyAhjRzNi/m0WFzZi2An21brH bU5B+ANjbM7a2MdugQ50UQGE/IyNW0HJI4q2NyfeoHV1NdF/qspty5ArG+l6a6f/EHyz 0GSSFyeNM7hV5V9Wl5mMi+RCCWQSkd+KvwqIyuvx0D91BX334vcqQ30u8l2PnJLxz0Hs 7W/E4qn2+vr83Z12h5Nb84YJwnI1GX5TwiKnZWbeRrxxf+qh5PolOY4/ikfqm8gm+p/z fglCpkjs/0JLORd8BuCROmQZFzg/BnL7Sb+UiMqGODj/DZ/7x35HTDqCsH4V/RKZRLnG GKlg== X-Forwarded-Encrypted: i=1; AJvYcCXo8fF3O5vhGP3CdDveBmfrbqVR0nO7gLw9sVKoSJiiD4FpdwCwY2j+JQKT4nP2phvNOuqkRjRUzrs8ARA=@vger.kernel.org X-Gm-Message-State: AOJu0YxjP7OfhIzhVvBPSllhQuYeclypJQSTC41PhB3B1vs7es0Vw3Fm ASuwZRUd7++jhh0owOrYpk7nwJPXKHqtY5hivT+gcdy1hlYqcEPXLUTq49fu3l8I7RE= X-Gm-Gg: ATEYQzxgOzjZ9iFK1xvw6FjhPvM4qJMx42JyiGVjtGZcfCzR2CDxlrR7D521+2/rhZU MHZOaB9VjW8IvFGPxsqGYmJKUzdu9zesDyiRbDOOGQ4iCcBoSDctJeqHuwgmzdmTR0Mn4sVcNYx XYTskGcdy9b08fnZ9RLFFtv8B5hOeTMn+IXP+PgiJNCdIaEN82LRd9hdBBRACJF251Xqk2lzsSm pD3C3nqU/W21X9J48fNN00+SZgQ9r+h3ImkJT88DHRaykHyCxS7Likms/Kd/4ctLUgpXAYVIT8r 5f93PSnw8dItsjPCE/vup83pZQ7eKt7iSnCfxI4JLqXBXqTiRYeOzKnIxaEWRfr0UJABP5DajBL SPMyiYNEYqk6ExhS9rpGUeXWS7Diy0H3daBRhG5/D8KiOzEEbdjhxFg4iq0wqzjWMg8RuK294Cs 6W8FYoEmdqN33xGmFeJswDLhYBt0JcPC0do3PftAXoiPoRgmrYzHMNqQlcpLQqSjH51b9C3OlQa ORGTENKbD33r3bKHSCf X-Received: by 2002:a05:622a:4512:b0:50b:36e4:a614 with SMTP id d75a77b69052e-50b373ea96dmr54489661cf.6.1774035267172; Fri, 20 Mar 2026 12:34:27 -0700 (PDT) Received: from gourry-fedora-PF4VCD3F (pool-96-255-20-138.washdc.ftas.verizon.net. [96.255.20.138]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-50b36d23237sm33063701cf.13.2026.03.20.12.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Mar 2026 12:34:26 -0700 (PDT) Date: Fri, 20 Mar 2026 15:34:24 -0400 From: Gregory Price To: "Lorenzo Stoakes (Oracle)" Cc: "David Hildenbrand (Arm)" , linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Huacai Chen , WANG Xuerui , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Andrew Morton , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Zi Yan , Matthew Brost , Joshua Hahn , Rakie Kim , Byungchul Park , Ying Huang , Alistair Popple , Sebastian Andrzej Siewior , Clark Williams , Steven Rostedt , linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-mm@kvack.org, linux-rt-devel@lists.linux.dev Subject: Re: [PATCH 1/2] mm: remove CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE Message-ID: References: <20260319-config_migration-v1-0-42270124966f@kernel.org> <20260319-config_migration-v1-1-42270124966f@kernel.org> <8ebdbdba-d0b5-4887-98e5-bc45f4565d51@lucifer.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ebdbdba-d0b5-4887-98e5-bc45f4565d51@lucifer.local> On Thu, Mar 19, 2026 at 04:34:04PM +0000, Lorenzo Stoakes (Oracle) wrote: > On Thu, Mar 19, 2026 at 11:24:27AM -0400, Gregory Price wrote: > > On Thu, Mar 19, 2026 at 09:19:40AM +0100, David Hildenbrand (Arm) wrote: > > > All architectures that select CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE also > > > select CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG. So we can just remove > > > CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE. > > > > > > For CONFIG_MIGRATION, make it depend on CONFIG_MEMORY_HOTREMOVE instead, > > > and make CONFIG_MEMORY_HOTREMOVE select CONFIG_MIGRATION (just like > > > CONFIG_CMA and CONFIG_COMPACTION already do). > > > > > > We'll clean up CONFIG_MIGRATION next. > > > > > > Signed-off-by: David Hildenbrand (Arm) > > > > HOTREMOVE has long been a thorn in my side, I appreciate you cleaning > > this up. > > That is quite the HOTTAKE young Gregory! > > (It seems my pun crimes are continuing) > :P - it's just more config cruft that always catches me cross-platform when i poke around in dax and hotplug. It'll be nice to get less automated reports from CI lol ~Gregory