From: David Hildenbrand <david@redhat•com>
To: linux-mm@kvack•org
Cc: Mark Rutland <mark.rutland@arm•com>,
Michal Hocko <mhocko@suse•com>,
David Hildenbrand <david@redhat•com>,
David Airlie <airlied@linux•ie>,
Bhupesh Sharma <bhsharma@redhat•com>,
Palmer Dabbelt <palmer@sifive•com>,
Heiko Carstens <heiko.carstens@de•ibm.com>,
Michal Hocko <mhocko@kernel•org>,
Paul Mackerras <paulus@samba•org>,
linux-riscv@lists•infradead.org,
Alexander Duyck <alexander.h.duyck@linux•intel.com>,
linux-s390@vger•kernel.org, Vasily Gorbik <gor@linux•ibm.com>,
Pavel Tatashin <pasha.tatashin@oracle•com>,
Matthew Wilcox <willy@infradead•org>,
Geert Uytterhoeven <geert@linux-m68k•org>,
Catalin Marinas <catalin.marinas@arm•com>,
Anthony Yznaga <anthony.yznaga@oracle•com>,
Tobias Klauser <tklauser@distanz•ch>,
Albert Ou <aou@eecs•berkeley.edu>,
Kees Cook <keescook@chromium•org>, Arnd Bergmann <arnd@arndb•de>,
Stephen Rothwell <sfr@canb•auug.org.au>,
Marc Zyngier <marc.zyngier@arm•com>,
Will Deacon <will.deacon@arm•com>,
linux-m68k@lists•linux-m68k.org,
Dave Kleikamp <dave.kleikamp@oracle•com>,
linux-mediatek@lists•infradead.org,
Dan Williams <dan.j.williams@intel•com>,
linux-arm-kernel@lists•infradead.org,
Greg Kroah-Hartman <gregkh@linuxfoundation•org>,
linux-kernel@vger•kernel.org,
Miles Chen <miles.chen@mediatek•com>,
Mike Rapoport <rppt@linux•vnet.ibm.com>,
James Morse <james.morse@arm•com>,
Souptick Joarder <jrdr.linux@gmail•com>,
Martin Schwidefsky <schwidefsky@de•ibm.com>,
Andrew Morton <akpm@linux-foundation•org>,
linuxppc-dev@lists•ozlabs.org
Subject: [PATCH RFC 0/7] mm: PG_reserved cleanups and documentation
Date: Wed, 5 Dec 2018 13:28:44 +0100 [thread overview]
Message-ID: <20181205122851.5891-1-david@redhat.com> (raw)
I was recently going over all users of PG_reserved. Short story: it is
difficult and sometimes not really clear if setting/checking for
PG_reserved is only a relict from the past. Easy to break things.
I had way more cleanups in this series inititally,
but some architectures take PG_reserved as a way to apply a different
caching strategy (for MMIO pages). So I decided to only include the most
obvious changes (that are less likely to break something).
So let's see if the documentation update for PG_reserved I crafted
actually covers most cases or if there is plenty more.
Most notably, for device memory we can hopefully soon stop setting
it PG_reserved
I only briefly tested this on s390x.
David Hildenbrand (7):
agp: efficeon: no need to set PG_reserved on GATT tables
s390/vdso: don't clear PG_reserved
powerpc/vdso: don't clear PG_reserved
riscv/vdso: don't clear PG_reserved
m68k/mm: use __ClearPageReserved()
arm64: kexec: no need to ClearPageReserved()
mm: better document PG_reserved
arch/arm64/kernel/machine_kexec.c | 1 -
arch/m68k/mm/memory.c | 2 +-
arch/powerpc/kernel/vdso.c | 2 --
arch/riscv/kernel/vdso.c | 1 -
arch/s390/kernel/vdso.c | 2 --
drivers/char/agp/efficeon-agp.c | 2 --
include/linux/page-flags.h | 18 ++++++++++++++++--
7 files changed, 17 insertions(+), 11 deletions(-)
--
2.17.2
next reply other threads:[~2018-12-05 12:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-05 12:28 David Hildenbrand [this message]
2018-12-05 12:28 ` [PATCH RFC 1/7] agp: efficeon: no need to set PG_reserved on GATT tables David Hildenbrand
2018-12-05 12:28 ` [PATCH RFC 2/7] s390/vdso: don't clear PG_reserved David Hildenbrand
2018-12-05 12:28 ` [PATCH RFC 3/7] powerpc/vdso: " David Hildenbrand
2018-12-05 12:28 ` [PATCH RFC 4/7] riscv/vdso: " David Hildenbrand
2018-12-07 18:45 ` Palmer Dabbelt
2018-12-05 12:28 ` [PATCH RFC 5/7] m68k/mm: use __ClearPageReserved() David Hildenbrand
2018-12-05 12:28 ` [PATCH RFC 6/7] arm64: kexec: no need to ClearPageReserved() David Hildenbrand
2018-12-05 14:00 ` James Morse
2018-12-05 12:28 ` [PATCH RFC 7/7] mm: better document PG_reserved David Hildenbrand
2018-12-05 12:59 ` Michal Hocko
2018-12-05 14:35 ` Matthew Wilcox
2018-12-05 15:05 ` David Hildenbrand
2018-12-05 17:32 ` Matthew Wilcox
2018-12-05 18:13 ` David Hildenbrand
2018-12-06 10:46 ` David Hildenbrand
2018-12-05 12:56 ` [PATCH RFC 0/7] mm: PG_reserved cleanups and documentation Michal Hocko
2018-12-05 13:04 ` 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=20181205122851.5891-1-david@redhat.com \
--to=david@redhat$(echo .)com \
--cc=airlied@linux$(echo .)ie \
--cc=akpm@linux-foundation$(echo .)org \
--cc=alexander.h.duyck@linux$(echo .)intel.com \
--cc=anthony.yznaga@oracle$(echo .)com \
--cc=aou@eecs$(echo .)berkeley.edu \
--cc=arnd@arndb$(echo .)de \
--cc=bhsharma@redhat$(echo .)com \
--cc=catalin.marinas@arm$(echo .)com \
--cc=dan.j.williams@intel$(echo .)com \
--cc=dave.kleikamp@oracle$(echo .)com \
--cc=geert@linux-m68k$(echo .)org \
--cc=gor@linux$(echo .)ibm.com \
--cc=gregkh@linuxfoundation$(echo .)org \
--cc=heiko.carstens@de$(echo .)ibm.com \
--cc=james.morse@arm$(echo .)com \
--cc=jrdr.linux@gmail$(echo .)com \
--cc=keescook@chromium$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-m68k@lists$(echo .)linux-m68k.org \
--cc=linux-mediatek@lists$(echo .)infradead.org \
--cc=linux-mm@kvack$(echo .)org \
--cc=linux-riscv@lists$(echo .)infradead.org \
--cc=linux-s390@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=marc.zyngier@arm$(echo .)com \
--cc=mark.rutland@arm$(echo .)com \
--cc=mhocko@kernel$(echo .)org \
--cc=mhocko@suse$(echo .)com \
--cc=miles.chen@mediatek$(echo .)com \
--cc=palmer@sifive$(echo .)com \
--cc=pasha.tatashin@oracle$(echo .)com \
--cc=paulus@samba$(echo .)org \
--cc=rppt@linux$(echo .)vnet.ibm.com \
--cc=schwidefsky@de$(echo .)ibm.com \
--cc=sfr@canb$(echo .)auug.org.au \
--cc=tklauser@distanz$(echo .)ch \
--cc=will.deacon@arm$(echo .)com \
--cc=willy@infradead$(echo .)org \
/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