From: David Hildenbrand <david@redhat•com>
To: linux-kernel@vger•kernel.org
Cc: Oscar Salvador <osalvador@suse•com>,
Michal Hocko <mhocko@suse•com>,
David Hildenbrand <david@redhat•com>,
Wei Yang <richard.weiyang@gmail•com>,
Keith Busch <keith.busch@intel•com>,
linux-mm@kvack•org, Arun KS <arunks@codeaurora•org>,
Rashmica Gupta <rashmica.g@gmail•com>,
Thomas Gleixner <tglx@linutronix•de>,
Stephen Rothwell <sfr@canb•auug.org.au>,
Michael Neuling <mikey@neuling•org>, Baoquan He <bhe@redhat•com>,
"Rafael J. Wysocki" <rafael@kernel•org>,
Pavel Tatashin <pasha.tatashin@oracle•com>,
linux-acpi@vger•kernel.org, Len Brown <lenb@kernel•org>,
Pavel Tatashin <pavel.tatashin@microsoft•com>,
Pavel Tatashin <pasha.tatashin@soleen•com>,
Anshuman Khandual <anshuman.khandual@arm•com>,
"mike.travis@hpe•com" <mike.travis@hpe•com>,
linuxppc-dev@lists•ozlabs.org,
Mike Rapoport <rppt@linux•vnet.ibm.com>, Qian Cai <cai@lca•pw>,
Dan Williams <dan.j.williams@intel•com>,
Vlastimil Babka <vbabka@suse•cz>,
Oscar Salvador <osalvador@suse•de>,
Juergen Gross <jgross@suse•com>,
Andrew Banman <andrew.banman@hpe•com>,
Greg Kroah-Hartman <gregkh@linuxfoundation•org>,
"Rafael J. Wysocki" <rjw@rjwysocki•net>,
Johannes Weiner <hannes@cmpxchg•org>,
Paul Mackerras <paulus@samba•org>,
Andrew Morton <akpm@linux-foundation•org>,
Mel Gorman <mgorman@techsingularity•net>
Subject: [PATCH v3 0/6] mm: Further memory block device cleanups
Date: Thu, 20 Jun 2019 20:31:33 +0200 [thread overview]
Message-ID: <20190620183139.4352-1-david@redhat.com> (raw)
@Andrew: Only patch 1, 4 and 6 changed compared to v1.
Some further cleanups around memory block devices. Especially, clean up
and simplify walk_memory_range(). Including some other minor cleanups.
Compiled + tested on x86 with DIMMs under QEMU. Compile-tested on ppc64.
v2 -> v3:
- "mm/memory_hotplug: Rename walk_memory_range() and pass start+size .."
-- Avoid warning on ppc.
- "drivers/base/memory.c: Get rid of find_memory_block_hinted()"
-- Fixup a comment regarding hinted devices.
v1 -> v2:
- "mm: Section numbers use the type "unsigned long""
-- "unsigned long i" -> "unsigned long nr", in one case -> "int i"
- "drivers/base/memory.c: Get rid of find_memory_block_hinted("
-- Fix compilation error
-- Get rid of the "hint" parameter completely
David Hildenbrand (6):
mm: Section numbers use the type "unsigned long"
drivers/base/memory: Use "unsigned long" for block ids
mm: Make register_mem_sect_under_node() static
mm/memory_hotplug: Rename walk_memory_range() and pass start+size
instead of pfns
mm/memory_hotplug: Move and simplify walk_memory_blocks()
drivers/base/memory.c: Get rid of find_memory_block_hinted()
arch/powerpc/platforms/powernv/memtrace.c | 23 ++---
drivers/acpi/acpi_memhotplug.c | 19 +---
drivers/base/memory.c | 120 +++++++++++++---------
drivers/base/node.c | 8 +-
include/linux/memory.h | 5 +-
include/linux/memory_hotplug.h | 2 -
include/linux/mmzone.h | 4 +-
include/linux/node.h | 7 --
mm/memory_hotplug.c | 57 +---------
mm/sparse.c | 12 +--
10 files changed, 106 insertions(+), 151 deletions(-)
--
2.21.0
next reply other threads:[~2019-06-20 18:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-20 18:31 David Hildenbrand [this message]
2019-06-20 18:31 ` [PATCH v3 1/6] mm: Section numbers use the type "unsigned long" David Hildenbrand
2019-06-20 18:31 ` [PATCH v3 2/6] drivers/base/memory: Use "unsigned long" for block ids David Hildenbrand
2019-06-20 18:31 ` [PATCH v3 3/6] mm: Make register_mem_sect_under_node() static David Hildenbrand
2019-06-20 18:31 ` [PATCH v3 4/6] mm/memory_hotplug: Rename walk_memory_range() and pass start+size instead of pfns David Hildenbrand
2019-06-20 18:31 ` [PATCH v3 5/6] mm/memory_hotplug: Move and simplify walk_memory_blocks() David Hildenbrand
2019-06-21 15:26 ` David Hildenbrand
2019-06-20 18:31 ` [PATCH v3 6/6] drivers/base/memory.c: Get rid of find_memory_block_hinted() David Hildenbrand
2019-06-21 15:15 ` [PATCH v3 0/6] mm: Further memory block device cleanups Qian Cai
2019-06-21 15:22 ` David Hildenbrand
2019-06-21 18:24 ` David Hildenbrand
2019-06-21 18:56 ` David Hildenbrand
2019-06-21 19:07 ` Qian Cai
2019-06-21 19:25 ` David Hildenbrand
2019-06-21 19:29 ` Qian Cai
2019-06-21 23:42 ` Andrew Morton
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=20190620183139.4352-1-david@redhat.com \
--to=david@redhat$(echo .)com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=andrew.banman@hpe$(echo .)com \
--cc=anshuman.khandual@arm$(echo .)com \
--cc=arunks@codeaurora$(echo .)org \
--cc=bhe@redhat$(echo .)com \
--cc=cai@lca$(echo .)pw \
--cc=dan.j.williams@intel$(echo .)com \
--cc=gregkh@linuxfoundation$(echo .)org \
--cc=hannes@cmpxchg$(echo .)org \
--cc=jgross@suse$(echo .)com \
--cc=keith.busch@intel$(echo .)com \
--cc=lenb@kernel$(echo .)org \
--cc=linux-acpi@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mm@kvack$(echo .)org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=mgorman@techsingularity$(echo .)net \
--cc=mhocko@suse$(echo .)com \
--cc=mike.travis@hpe$(echo .)com \
--cc=mikey@neuling$(echo .)org \
--cc=osalvador@suse$(echo .)com \
--cc=osalvador@suse$(echo .)de \
--cc=pasha.tatashin@oracle$(echo .)com \
--cc=pasha.tatashin@soleen$(echo .)com \
--cc=paulus@samba$(echo .)org \
--cc=pavel.tatashin@microsoft$(echo .)com \
--cc=rafael@kernel$(echo .)org \
--cc=rashmica.g@gmail$(echo .)com \
--cc=richard.weiyang@gmail$(echo .)com \
--cc=rjw@rjwysocki$(echo .)net \
--cc=rppt@linux$(echo .)vnet.ibm.com \
--cc=sfr@canb$(echo .)auug.org.au \
--cc=tglx@linutronix$(echo .)de \
--cc=vbabka@suse$(echo .)cz \
/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