Skip to content

RFC swsusp: Stop using page flags

Rafael J. Wysocki lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3swsusp: Use inline functions for changing page flagsinclude/linux/suspend.h kernel/power/snapshot.c mm/page_alloc.c+61 -261 reply
2/3swsusp: Do not use page flagsarch/x86_64/kernel/e820.c include/linux/suspend.h kernel/power/disk.c +3 more+281 -821 reply
3/3mm: Remove unused page flagsinclude/linux/page-flags.h+0 -121 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC][PATCH 0/3] swsusp: Stop using page flags

Hi,

The following three patches make swsusp use its own data structures for memory management instead of special page flags. Thus the page flags used so far by swsusp (PG_nosave, PG_nosave_free) can be used for other purposes and I believe there are some urgend needs of them. :-)

Last week I sent these patches to the linux-pm and linux-mm lists and there were no negative comments. Also I've been testing them on my x86_64 boxes for a few days and apparently they don't break anything. I think they can go into -mm for testing.

Comments are welcome.

Greetings,
Rafael

Signature · 3 lines
If you don't have the time to read,
you don't have the time or the tools to write.
		- Stephen King