Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4403784ybb; Tue, 7 Apr 2020 06:55:19 -0700 (PDT) X-Google-Smtp-Source: APiQypJk4WlrsqG+sHrlqvwLd8wxg4IfbrLAJg72yxCB+oWs0+O62BbyV2OxT+BUmhJp8WK4oaa8 X-Received: by 2002:a9d:4c0e:: with SMTP id l14mr1549346otf.226.1586267719414; Tue, 07 Apr 2020 06:55:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586267719; cv=none; d=google.com; s=arc-20160816; b=oKBqCMpF5wvuM6AyaQW72kcoqQyxYyqYc79XvXGJOBscRkLb5lI3r6+S81Xu0Z/D28 q8MgSRyqIOnh56vmQ6giqnzXMdAufduPdso9GcIkeKxi+cld7BQEogaK6qurKWDn434M HAX61SHmOuuC3sJzzhvckEFpQxDTDV4LIE2rEzFpsp62wd5+A8h39yNM1AK9THMTMcIn MvElh/b4Qn0Ycurvyvq80fI5X/vikEb/Aq/amkAQvApsQMtgsIt2F9CIMDqMAnnel3rh Jbb4WcR/vio++6F5y69TMF96OcToQsnY04jBPAhu5WMHgyuT9Hun7KimMR8DZF+EsAI8 8AgA== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=RINIddZUqq5kUQ1PrShNaCH2LZ2pehWwvKUvtGUDiTs=; b=MMPYqKTpCu19g7v3DSmqHB3WA296vO+w4MJs00brgLGKDr+qnpMzTjBGCZt7elRZEU 4dWoz+znhPPtRFEn3LZgZ9B6upA7oKKlytx/IKHfGM1OAtI/cVAptWszqQAAGf3NFp1k hsPSM8/oHmiG5k2CKXPIy/6fVmSYfYrBGJZrTKt59dgXI4zOxrb8tQfFKRw9BJP6vWTl syQCZNUYPnCipEBPmFlYDt3kepGf7tbK/g4fMXlWct+XC0h470OIIyDgvkQIFO21zioU QzEU6KXM5fjI4FV2hLf+7iC5G0M0Y/4ct9VS9bFGIQfuPQ5Pqc6Oo/W7jhAkQhP1nMuo e1HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TDR6qWtv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m26si1451791otj.109.2020.04.07.06.55.06; Tue, 07 Apr 2020 06:55:19 -0700 (PDT) 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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TDR6qWtv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728958AbgDGNye (ORCPT + 99 others); Tue, 7 Apr 2020 09:54:34 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:54322 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728573AbgDGNyd (ORCPT ); Tue, 7 Apr 2020 09:54:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586267672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RINIddZUqq5kUQ1PrShNaCH2LZ2pehWwvKUvtGUDiTs=; b=TDR6qWtvyL0AhbIom4eVuJHzWby5KpF7AT99MwEzveiJH+XqSZ100UHQCmv1egOS938oLA hNw5NfqykEaaVOpZ7k4wZFyR051t8/n0Dg+GB+BZsf2A7OVBVEtUPYGvzsQ4w8pGiq/qUi HYE3Ag93AgyF/MaemBlQ5n9NLyTjjLA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-124-MKl6M0WKP2SXWRLZchOcBQ-1; Tue, 07 Apr 2020 09:54:25 -0400 X-MC-Unique: MKl6M0WKP2SXWRLZchOcBQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A7E9185EE6E; Tue, 7 Apr 2020 13:54:23 +0000 (UTC) Received: from t480s.redhat.com (ovpn-114-167.ams2.redhat.com [10.36.114.167]) by smtp.corp.redhat.com (Postfix) with ESMTP id DA56E7E303; Tue, 7 Apr 2020 13:54:16 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, David Hildenbrand , Andrew Morton , Baoquan He , Benjamin Herrenschmidt , Michael Ellerman , Michal Hocko , Nathan Fontenot , Oscar Salvador , Paul Mackerras , Wei Yang Subject: [PATCH v1 0/2] mm/memory_hotplug: remove is_mem_section_removable() Date: Tue, 7 Apr 2020 15:54:14 +0200 Message-Id: <20200407135416.24093-1-david@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the follow-up of "[PATCH v1] drivers/base/memory.c: indicate all memory blocks as removable" [1], which gets rid of is_mem_section_removable(). More details can be found in [1] and [2] [1] https://lkml.kernel.org/r/20200128093542.6908-1-david@redhat.com [2] https://lkml.kernel.org/r/20200117105759.27905-1-david@redhat.com David Hildenbrand (2): powerpc/pseries/hotplug-memory: stop checking is_mem_section_removable() mm/memory_hotplug: remove is_mem_section_removable() .../platforms/pseries/hotplug-memory.c | 26 +------ include/linux/memory_hotplug.h | 7 -- mm/memory_hotplug.c | 75 ------------------- 3 files changed, 3 insertions(+), 105 deletions(-) --=20 2.25.1