Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2938445pxv; Mon, 12 Jul 2021 05:42:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3UN2b7BfdI9jJ3UbawrHg5bZf4evrqhZLilj2HK/+yPDMr4nCPL4BOXe0urb/aJ/oSYt8 X-Received: by 2002:a05:6602:2c85:: with SMTP id i5mr24389236iow.91.1626093748679; Mon, 12 Jul 2021 05:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626093748; cv=none; d=google.com; s=arc-20160816; b=AGNh0nkStU4KLfcVHGPU8nwWpBq5bwowiYHyXL9hlcyKPpGZTYgzOEEj4tYcIf/0O7 oFZUxt8k+xBC7LfcRbN9NbUvAhlu93pPeXhBiYrZM7clImNDsDRu0PQiAXb3AfjienwR iEXssmKTtAfThgOVwiVgs35531S3NxIgzEtjz6KLNE+7SsgCJj2loN4bZbg7OCc1IeHF U1ReO/6R3RrpUXZwUHGKnOn9I86IEEn5BAOnx54+w9m1RY34CCQqfZCpBSV2T1zEBPzr DG6jQ0uzT8zzHm2wXnVGyyj31OihDBDFP1PkxIxGsrgVzo6Aczw7sB+jeCC9Tpn/1Bj8 btcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=qEbDQXGhHEIQfXJJ1NDA7WskESqj8IOu7J2/Cf7/u6Q=; b=lCbC0kHcPZ6TupkzemejDmUKmqFseRnsJvPDR2RFduc17nyFydIALtF5wk53ncnfAN CQp4a2g9MwSEntModI61dfBkVMCtDNDPfJ67/tzHgqUg9k2mjc4wHUQQIw3ijlk6/z3T 7Xf5U2a92wz5MsDOVts8Vi/DvtucyB9g45bfoDETcTIDjqAZRd/LVFUo9tcsLHThk+Bj lyEBx9twwuSgK7p3appvqJPTr5ruUrWPI6iSVo3M5pXtNl3zik0LPR7jUkkNI8WqgdSn sDaUlc22/GsV0q5Bz08lHSVcskjQWiMd34gLaCIWvlP9yBJ03q+Xileja5fWOTZHL4Ph BguA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Fs9CXKbG; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f1si18300177jav.64.2021.07.12.05.42.16; Mon, 12 Jul 2021 05:42:28 -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=@redhat.com header.s=mimecast20190719 header.b=Fs9CXKbG; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233843AbhGLMoR (ORCPT + 99 others); Mon, 12 Jul 2021 08:44:17 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:39745 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230361AbhGLMoR (ORCPT ); Mon, 12 Jul 2021 08:44:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626093687; 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=qEbDQXGhHEIQfXJJ1NDA7WskESqj8IOu7J2/Cf7/u6Q=; b=Fs9CXKbGTKina7mFGIErfcSJizxtVYM/EAiaRIGse6BQP2OcL+UNviTMEKgOYl17mMcoF2 xZKaj8KjV45vyXdzvpbJXD0Y4yaEsu6gLbTD9OXVDTNqgKiFZPCKxYeY/cup5OLxzqqwSb kei8JGwPG1iwLTcC5bbrRGm1tePS4yY= 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-421-VADwkUjmOYKhbpMmcyul4g-1; Mon, 12 Jul 2021 08:41:26 -0400 X-MC-Unique: VADwkUjmOYKhbpMmcyul4g-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8A5AB802C87; Mon, 12 Jul 2021 12:41:18 +0000 (UTC) Received: from t480s.redhat.com (ovpn-113-111.rdu2.redhat.com [10.10.113.111]) by smtp.corp.redhat.com (Postfix) with ESMTP id 285555C1D1; Mon, 12 Jul 2021 12:40:53 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, David Hildenbrand , Andrew Morton , Vitaly Kuznetsov , "Michael S. Tsirkin" , Jason Wang , Pankaj Gupta , Wei Yang , Oscar Salvador , Michal Hocko , Dan Williams , Anshuman Khandual , Dave Hansen , Vlastimil Babka , Mike Rapoport , "Rafael J. Wysocki" , Len Brown , Pavel Tatashin , Heiko Carstens , Michael Ellerman , Catalin Marinas , virtualization@lists.linux-foundation.org, linux-acpi@vger.kernel.org, Andy Lutomirski , "Aneesh Kumar K.V" , Anton Blanchard , Ard Biesheuvel , Baoquan He , Benjamin Herrenschmidt , Borislav Petkov , Christian Borntraeger , Christophe Leroy , Dave Jiang , "H. Peter Anvin" , Ingo Molnar , Jia He , Joe Perches , Kefeng Wang , Laurent Dufour , Michel Lespinasse , Nathan Lynch , Nicholas Piggin , Paul Mackerras , Peter Zijlstra , Pierre Morel , "Rafael J. Wysocki" , Rich Felker , Scott Cheloha , Sergei Trofimovich , Thiago Jung Bauermann , Thomas Gleixner , Vasily Gorbik , Vishal Verma , Will Deacon , Yoshinori Sato Subject: mm/memory_hotplug: preparatory patches for new online policy and memory Date: Mon, 12 Jul 2021 14:40:48 +0200 Message-Id: <20210712124052.26491-1-david@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, these are all cleanups and one fix previously sent as part of [1]: [PATCH v1 00/12] mm/memory_hotplug: "auto-movable" online policy and memory groups These patches make sense even without the other series, therefore I pulled them out to make the other series easier to digest. [1] https://lkml.kernel.org/r/20210607195430.48228-1-david@redhat.com Cc: Andrew Morton Cc: Vitaly Kuznetsov Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Pankaj Gupta Cc: Wei Yang Cc: Oscar Salvador Cc: Michal Hocko Cc: Dan Williams Cc: Anshuman Khandual Cc: Dave Hansen Cc: Vlastimil Babka Cc: Mike Rapoport Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: Pavel Tatashin Cc: Heiko Carstens Cc: Michael Ellerman Cc: Catalin Marinas Cc: virtualization@lists.linux-foundation.org Cc: linux-mm@kvack.org Cc: linux-acpi@vger.kernel.org David Hildenbrand (4): mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range() mm/memory_hotplug: remove nid parameter from arch_remove_memory() mm/memory_hotplug: remove nid parameter from remove_memory() and friends ACPI: memhotplug: memory resources cannot be enabled yet arch/arm64/mm/mmu.c | 3 +- arch/ia64/mm/init.c | 3 +- arch/powerpc/mm/mem.c | 3 +- .../platforms/pseries/hotplug-memory.c | 9 +++-- arch/s390/mm/init.c | 3 +- arch/sh/mm/init.c | 3 +- arch/x86/mm/init_32.c | 3 +- arch/x86/mm/init_64.c | 3 +- drivers/acpi/acpi_memhotplug.c | 11 +----- drivers/dax/kmem.c | 3 +- drivers/virtio/virtio_mem.c | 4 +-- include/linux/memory_hotplug.h | 17 +++++---- mm/memory_hotplug.c | 36 +++++++++++-------- mm/memremap.c | 5 +-- 14 files changed, 45 insertions(+), 61 deletions(-) base-commit: e73f0f0ee7541171d89f2e2491130c7771ba58d3 -- 2.31.1