Skip to content

remove PageReserved

Nick Piggin lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mm: comment rmapmm/rmap.c+2 -00 replies
2/6mm: micro-optimise rmapmm/rmap.c+11 -102 replies
3/6mm: cleanup rmapmm/rmap.c+1 -50 replies
4/6mm: remove atomicinclude/linux/page-flags.h mm/page_alloc.c+2 -10 replies
5/6mm: remap ZERO_PAGE mappingsmm/mremap.c+4 -00 replies
6/6mm: core remove PageReservedarch/ppc64/kernel/vdso.c drivers/scsi/sg.c drivers/scsi/st.c +15 more+189 -1070 replies
6/6mm: core remove PageReserved (take 2)arch/ppc64/kernel/vdso.c drivers/scsi/sg.c drivers/scsi/st.c +15 more+188 -1070 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/6] remove PageReserved

Hi Andrew,

If you're feeling like -mm is getting too stable, then you might consider giving these patches a spin? (unless anyone else raises an objection).

Ben thought I should get moving with them soon.

Not much change from last time. A bit of ppc64 input from Ben, and some rmap.c input from Hugh. Boots and runs on a few machines I have lying around here.

The only remaining places that *test* PageReserved are swsusp, a trivial useage in drivers/char/agp/amd64-agp.c, and arch/ code.

Most of the arch code is just reserved memory reporting, which isn't very interesting and could easily be removed. Some arch users are a bit more subtle, however they *should not* break, because all the places that set and clear PageReserved are basically intact.

We can phase PageReserved out of the tree completely when the core becomes stable.

Now the main problems we might have are the introduction of some tighter checks introduced by this patchset - for example 'bad_page' is triggered on PG_reserved.

The other thing is - MAP_PRIVATE of VM_RESERVED regions becomes disallowed. Any program that attempts such a thing prints a warning. Hugh has some code which handles this case but he suggested that we should first see whether it is even required.

Any thoughts? Comments?

Signature · 3 lines
SUSE Labs, Novell Inc.

Send instant messages to your online friends http://au.messenger.yahoo.com