From: Michael Ellerman <mpe@ellerman•id.au>
To: David Hildenbrand <david@redhat•com>, linux-kernel@vger•kernel.org
Cc: Michel Lespinasse <michel@lespinasse•org>,
Kefeng Wang <wangkefeng.wang@huawei•com>,
Rich Felker <dalias@libc•org>,
linux-ia64@vger•kernel.org,
Wei Yang <richard.weiyang@linux•alibaba.com>,
"Michael S. Tsirkin" <mst@redhat•com>,
Peter Zijlstra <peterz@infradead•org>,
Catalin Marinas <catalin.marinas@arm•com>,
Jason Wang <jasowang@redhat•com>,
Dave Hansen <dave.hansen@linux•intel.com>,
x86@kernel•org, virtualization@lists•linux-foundation.org,
linux-mm@kvack•org, Paul Mackerras <paulus@samba•org>,
"H. Peter Anvin" <hpa@zytor•com>, Will Deacon <will@kernel•org>,
Thomas Gleixner <tglx@linutronix•de>,
linux-s390@vger•kernel.org,
Laurent Dufour <ldufour@linux•ibm.com>,
Jia He <justin.he@arm•com>,
Yoshinori Sato <ysato@users•sourceforge.jp>,
Christian Borntraeger <borntraeger@de•ibm.com>,
linux-sh@vger•kernel.org,
"Aneesh Kumar K.V" <aneesh.kumar@linux•ibm.com>,
David Hildenbrand <david@redhat•com>,
Ard Biesheuvel <ardb@kernel•org>,
linux-acpi@vger•kernel.org, Ingo Molnar <mingo@redhat•com>,
linux-arm-kernel@lists•infradead.org, Len Brown <lenb@kernel•org>,
Thiago Jung Bauermann <bauerman@linux•ibm.com>,
Pavel Tatashin <pasha.tatashin@soleen•com>,
Vasily Gorbik <gor@linux•ibm.com>,
Anshuman Khandual <anshuman.khandual@arm•com>,
Heiko Carstens <hca@linux•ibm.com>,
Nicholas Piggin <npiggin@gmail•com>,
Borislav Petkov <bp@alien8•de>,
Sergei Trofimovich <slyfox@gentoo•org>,
Andy Lutomirski <luto@kernel•org>,
Dan Williams <dan.j.williams@intel•com>,
Michal Hocko <mhocko@kernel•org>,
Vitaly Kuznetsov <vkuznets@redhat•com>,
Vlastimil Babka <vbabka@suse•cz>,
Oscar Salvador <osalvador@suse•de>,
Christophe Leroy <christophe.leroy@c-s•fr>,
Pankaj Gupta <pankaj.gupta.linux@gmail•com>,
Baoquan He <bhe@redhat•com>, Pierre Morel <pmorel@linux•ibm.com>,
"Rafael J. Wysocki" <rjw@rjwysocki•net>,
Hui Zhu <teawater@gmail•com>, Joe Perches <joe@perches•com>,
Andrew Morton <akpm@linux-foundation•org>,
linuxppc-dev@lists•ozlabs.org,
Marek Kedzierski <mkedzier@redhat•com>,
Mike Rapoport <rppt@kernel•org>
Subject: Re: [PATCH v1 04/12] mm/memory_hotplug: remove nid parameter from arch_remove_memory()
Date: Tue, 08 Jun 2021 20:50:21 +1000 [thread overview]
Message-ID: <871r9cfx5e.fsf@mpe.ellerman.id.au> (raw)
In-Reply-To: <20210607195430.48228-5-david@redhat.com>
David Hildenbrand <david@redhat•com> writes:
> The parameter is unused, let's remove it.
>
> Cc: Catalin Marinas <catalin.marinas@arm•com>
> Cc: Will Deacon <will@kernel•org>
> Cc: Michael Ellerman <mpe@ellerman•id.au>
> Cc: Benjamin Herrenschmidt <benh@kernel•crashing.org>
> Cc: Paul Mackerras <paulus@samba•org>
> Cc: Heiko Carstens <hca@linux•ibm.com>
> Cc: Vasily Gorbik <gor@linux•ibm.com>
> Cc: Christian Borntraeger <borntraeger@de•ibm.com>
> Cc: Yoshinori Sato <ysato@users•sourceforge.jp>
> Cc: Rich Felker <dalias@libc•org>
> Cc: Dave Hansen <dave.hansen@linux•intel.com>
> Cc: Andy Lutomirski <luto@kernel•org>
> Cc: Peter Zijlstra <peterz@infradead•org>
> Cc: Thomas Gleixner <tglx@linutronix•de>
> Cc: Ingo Molnar <mingo@redhat•com>
> Cc: Borislav Petkov <bp@alien8•de>
> Cc: x86@kernel•org
> Cc: "H. Peter Anvin" <hpa@zytor•com>
> Cc: Andrew Morton <akpm@linux-foundation•org>
> Cc: Anshuman Khandual <anshuman.khandual@arm•com>
> Cc: Ard Biesheuvel <ardb@kernel•org>
> Cc: Mike Rapoport <rppt@kernel•org>
> Cc: Nicholas Piggin <npiggin@gmail•com>
> Cc: Pavel Tatashin <pasha.tatashin@soleen•com>
> Cc: Baoquan He <bhe@redhat•com>
> Cc: Laurent Dufour <ldufour@linux•ibm.com>
> Cc: Sergei Trofimovich <slyfox@gentoo•org>
> Cc: Kefeng Wang <wangkefeng.wang@huawei•com>
> Cc: Michel Lespinasse <michel@lespinasse•org>
> Cc: Christophe Leroy <christophe.leroy@c-s•fr>
> Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux•ibm.com>
> Cc: Thiago Jung Bauermann <bauerman@linux•ibm.com>
> Cc: Joe Perches <joe@perches•com>
> Cc: Pierre Morel <pmorel@linux•ibm.com>
> Cc: Jia He <justin.he@arm•com>
> Cc: linux-arm-kernel@lists•infradead.org
> Cc: linux-ia64@vger•kernel.org
> Cc: linuxppc-dev@lists•ozlabs.org
> Cc: linux-s390@vger•kernel.org
> Cc: linux-sh@vger•kernel.org
> Signed-off-by: David Hildenbrand <david@redhat•com>
> ---
> arch/arm64/mm/mmu.c | 3 +--
> arch/ia64/mm/init.c | 3 +--
> arch/powerpc/mm/mem.c | 3 +--
> 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 +--
> include/linux/memory_hotplug.h | 3 +--
> mm/memory_hotplug.c | 4 ++--
> mm/memremap.c | 5 +----
> 10 files changed, 11 insertions(+), 22 deletions(-)
>
...
> diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
> index 043bbeaf407c..fc5c36189c26 100644
> --- a/arch/powerpc/mm/mem.c
> +++ b/arch/powerpc/mm/mem.c
> @@ -115,8 +115,7 @@ int __ref arch_add_memory(int nid, u64 start, u64 size,
> return rc;
> }
>
> -void __ref arch_remove_memory(int nid, u64 start, u64 size,
> - struct vmem_altmap *altmap)
> +void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap)
> {
> unsigned long start_pfn = start >> PAGE_SHIFT;
> unsigned long nr_pages = size >> PAGE_SHIFT;
Acked-by: Michael Ellerman <mpe@ellerman•id.au> (powerpc)
cheers
next prev parent reply other threads:[~2021-06-08 10:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210607195430.48228-1-david@redhat.com>
2021-06-07 19:54 ` [PATCH v1 04/12] mm/memory_hotplug: remove nid parameter from arch_remove_memory() David Hildenbrand
2021-06-08 8:32 ` Catalin Marinas
2021-06-08 10:50 ` Michael Ellerman [this message]
2021-06-09 5:51 ` Heiko Carstens
2021-06-07 19:54 ` [PATCH v1 05/12] mm/memory_hotplug: remove nid parameter from remove_memory() and friends David Hildenbrand
2021-06-08 11:11 ` Michael Ellerman
2021-06-08 11:18 ` David Hildenbrand
2021-06-09 10:05 ` David Hildenbrand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871r9cfx5e.fsf@mpe.ellerman.id.au \
--to=mpe@ellerman$(echo .)id.au \
--cc=akpm@linux-foundation$(echo .)org \
--cc=aneesh.kumar@linux$(echo .)ibm.com \
--cc=anshuman.khandual@arm$(echo .)com \
--cc=ardb@kernel$(echo .)org \
--cc=bauerman@linux$(echo .)ibm.com \
--cc=bhe@redhat$(echo .)com \
--cc=borntraeger@de$(echo .)ibm.com \
--cc=bp@alien8$(echo .)de \
--cc=catalin.marinas@arm$(echo .)com \
--cc=christophe.leroy@c-s$(echo .)fr \
--cc=dalias@libc$(echo .)org \
--cc=dan.j.williams@intel$(echo .)com \
--cc=dave.hansen@linux$(echo .)intel.com \
--cc=david@redhat$(echo .)com \
--cc=gor@linux$(echo .)ibm.com \
--cc=hca@linux$(echo .)ibm.com \
--cc=hpa@zytor$(echo .)com \
--cc=jasowang@redhat$(echo .)com \
--cc=joe@perches$(echo .)com \
--cc=justin.he@arm$(echo .)com \
--cc=ldufour@linux$(echo .)ibm.com \
--cc=lenb@kernel$(echo .)org \
--cc=linux-acpi@vger$(echo .)kernel.org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-ia64@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mm@kvack$(echo .)org \
--cc=linux-s390@vger$(echo .)kernel.org \
--cc=linux-sh@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=luto@kernel$(echo .)org \
--cc=mhocko@kernel$(echo .)org \
--cc=michel@lespinasse$(echo .)org \
--cc=mingo@redhat$(echo .)com \
--cc=mkedzier@redhat$(echo .)com \
--cc=mst@redhat$(echo .)com \
--cc=npiggin@gmail$(echo .)com \
--cc=osalvador@suse$(echo .)de \
--cc=pankaj.gupta.linux@gmail$(echo .)com \
--cc=pasha.tatashin@soleen$(echo .)com \
--cc=paulus@samba$(echo .)org \
--cc=peterz@infradead$(echo .)org \
--cc=pmorel@linux$(echo .)ibm.com \
--cc=richard.weiyang@linux$(echo .)alibaba.com \
--cc=rjw@rjwysocki$(echo .)net \
--cc=rppt@kernel$(echo .)org \
--cc=slyfox@gentoo$(echo .)org \
--cc=teawater@gmail$(echo .)com \
--cc=tglx@linutronix$(echo .)de \
--cc=vbabka@suse$(echo .)cz \
--cc=virtualization@lists$(echo .)linux-foundation.org \
--cc=vkuznets@redhat$(echo .)com \
--cc=wangkefeng.wang@huawei$(echo .)com \
--cc=will@kernel$(echo .)org \
--cc=x86@kernel$(echo .)org \
--cc=ysato@users$(echo .)sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox