From: David Hildenbrand <david@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: linux-s390@vger.kernel.org, linux-mm@kvack.org,
David Hildenbrand <david@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
Christian Borntraeger <borntraeger@de.ibm.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>,
Michael Holzheu <holzheu@linux.vnet.ibm.com>,
Mike Rapoport <rppt@linux.ibm.com>,
Philipp Rudo <prudo@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>
Subject: [PATCH v2 0/2] s390/mm: don't set ARCH_KEEP_MEMBLOCK
Date: Wed, 1 Jul 2020 16:18:28 +0200 [thread overview]
Message-ID: <20200701141830.18749-1-david@redhat.com> (raw)
This series is based on the latest s390/features branch, which contains
"s390/zcore: remove memmap device". [1]
Looking into why we still create memblocks for stdnaby/hotplugged memory
(via add_memory()), I discovered that we might not need ARCH_KEEP_MEMBLOCK
on s390x after all.
This is relevant in the context of virtio-mem, where we hotplug a lot of
small memory blocks (and want to avoid managing unused metadata). But also
for existing setups, it might help to free up some memory after boot.
Compile-tested on s390x, pseries, arm64, i386, mips64, powernv, sh, and
x86_64.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=features
v1 -> v2:
- "mm/memblock: expose only miminal interface to add/walk physmem"
-- Use inline function for __next_physmem_range
-- Rewrite some comments
RFC -> v1:
- "s390/zcore: traverse resources instead of memblocks" has been replaced
on s390/features by "s390/zcore: remove memmap devic"
- Add "mm/memblock: expose only miminal interface to add/walk physmem"
-- Sort out section mismatch errors when using physmem after boot without
ARCH_KEEP_MEMBLOCK
- "s390/mm: don't set ARCH_KEEP_MEMBLOCK"
-- Rephrase description
David Hildenbrand (2):
mm/memblock: expose only miminal interface to add/walk physmem
s390/mm: don't set ARCH_KEEP_MEMBLOCK
arch/s390/Kconfig | 1 -
arch/s390/kernel/crash_dump.c | 6 ++--
include/linux/memblock.h | 28 ++++++++++++++---
mm/memblock.c | 57 ++++++++++++++++++-----------------
4 files changed, 55 insertions(+), 37 deletions(-)
--
2.26.2
next reply other threads:[~2020-07-01 14:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-01 14:18 David Hildenbrand [this message]
2020-07-01 14:18 ` [PATCH v2 1/2] mm/memblock: expose only miminal interface to add/walk physmem David Hildenbrand
2020-07-01 15:06 ` Mike Rapoport
2020-07-01 15:31 ` Heiko Carstens
2020-07-01 16:28 ` Mike Rapoport
2020-07-02 7:23 ` David Hildenbrand
2020-07-03 4:48 ` Andrew Morton
2020-07-03 8:31 ` Heiko Carstens
2020-07-01 15:34 ` David Hildenbrand
2020-07-01 15:36 ` Heiko Carstens
2020-07-01 14:18 ` [PATCH v2 2/2] s390/mm: don't set ARCH_KEEP_MEMBLOCK 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=20200701141830.18749-1-david@redhat.com \
--to=david@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=borntraeger@de.ibm.com \
--cc=gor@linux.ibm.com \
--cc=heiko.carstens@de.ibm.com \
--cc=holzheu@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-s390@vger.kernel.org \
--cc=prudo@linux.ibm.com \
--cc=rppt@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).