mm: PG_reserved cleanups and documentation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 9 repliesIn review
- v19 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Minor speeling errors in "mm: better document PG_reserved" fixed
- Added ACKs
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | agp: efficeon: no need to set PG_reserved on GATT tablesdrivers/ | +0 | 0 replies | |
| 2/9 | s390/vdso: don't clear PG_reservedarch/ | +0 | 0 replies | |
| 3/9 | powerpc/vdso: don't clear PG_reservedarch/ | +0 | 0 replies | |
| 4/9 | riscv/vdso: don't clear PG_reservedarch/ | +0 | 1 reply | |
| 5/9 | m68k/mm: use __ClearPageReserved()arch/ | +1 | 1 reply | |
| 6/9 | arm64: kexec: no need to ClearPageReserved()arch/ | +0 | 2 replies | |
| 7/9 | arm64: kdump: No need to mark crashkernel pages manually PG_reservedarch/ arch/ | +1 | 2 replies | |
| 8/9 | ia64: perfmon: Don't mark buffer pages as PG_reservedarch/ | +4 | 0 replies | |
| 9/9 | mm: better document PG_reservedinclude/ | +31 | 0 replies |
Reviews trailers per patch
5 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Michael Ellerman | Palmer Dabbelt | James Morse | Matthias Brugger | Geert Uytterhoeven | Bhupesh Sharma | Christoph Hellwig | Catalin Marinas |
|---|---|---|---|---|---|---|---|---|
| 1/9 | ||||||||
| 2/9 | ||||||||
| 3/9 | A-b | |||||||
| 4/9 | A-b | R-b | ||||||
| 5/9 | A-b | |||||||
| 6/9 | A-b | R-b | A-b | |||||
| 7/9 | R-b | R-b | A-b | |||||
| 8/9 | ||||||||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.
Cover letter [PATCH v2 0/9] mm: PG_reserved cleanups and documentation
Nothing major changed since the last version. I would be happy about additional ACKs. If there are no further comments, can this go via the mm-tree in one chunk?
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 guess I now have a pretty good idea wh things are like that nowadays and how they evolved.
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 the big chunk of manual SetPageReserved users are MMIO/DMA related things on device buffers.
Most notably, for device memory we will hopefully soon stop setting PG_reserved. Then the documentation has to be updated.
v1 -> v2:
- Minor speeling errors in "mm: better document PG_reserved" fixed
- Added ACKs
RFC -> v1:
- Add more details to "mm: better document PG_reserved"
- Add "arm64: kdump: No need to mark crashkernel pages manually PG_reserved"
- Add "ia64: perfmon: Don't mark buffer pages as PG_reserved"
- Added ACKs
David Hildenbrand (9):
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()
arm64: kdump: No need to mark crashkernel pages manually PG_reserved
ia64: perfmon: Don't mark buffer pages as PG_reserved
mm: better document PG_reserved
arch/arm64/kernel/machine_kexec.c | 3 +- arch/arm64/mm/init.c | 27 -------------- arch/ia64/kernel/perfmon.c | 59 +++---------------------------- 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 | 33 +++++++++++++++-- 9 files changed, 37 insertions(+), 94 deletions(-)
Signature · 1 line
2.17.2