Skip to content

RFC Page flags: Saving some, making handling easier etc.

Christoph Lameter linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest10 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Pageflags: Use an enum for the flagsinclude/linux/page-flags.h+24 -300 replies
2/10Pageflags: Introduce macros to generate page flag functionsinclude/linux/page-flags.h+41 -02 replies
3/10Pageflags: Convert to the use of new macrosinclude/linux/page-flags.h+61 -1270 replies
4/10Pageflags: Eliminate PG_readaheadinclude/linux/page-flags.h mm/page_alloc.c+2 -40 replies
5/10Sparsemem: Vmemmap does not need section bitsinclude/linux/mm.h mm/sparse.c+8 -46 replies
6/10Kbuild: Create a way to create preprocessor constants from C expressionsKbuild include/linux/bounds.h kernel/bounds.c+55 -20 replies
7/10Pageflags: Get rid of FLAGS_RESERVEDinclude/linux/bounds.h include/linux/mm.h include/linux/mmzone.h +2 more+13 -290 replies
8/10Export NR_MAX_ZONES to the preprocessorinclude/linux/bounds.h include/linux/mmzone.h kernel/bounds.c+4 -10 replies
9/10Get rid of __ZONE_COUNTinclude/linux/mmzone.h+3 -160 replies
10/10Pageflags land grabinclude/linux/page-flags.h mm/Kconfig+40 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [rfc 00/10] [RFC] Page flags: Saving some, making handling easier etc.

A set of patches that attempts to improve page flag handling. First of all a method is introduces to generate the page flag functions using macros. Then the number of page flags used by sparsemem is reduced.

Then we add a way to export enum constant to the preprocessor which allows us to get rid of __ZONE_COUNT and use the NR_PAGEFLAGS for the calculation of actually available page flags for fields.

Lastly there is a land grab of page flags for various ongoing VM projects.

Signature · 5 lines
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>