android_kernel_xiaomi_sm8350/kernel/power
Rafael J. Wysocki 74dfd666de swsusp: do not use page flags
Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and
free pages.  This allows us to 'recycle' two page flags that can be used for
other purposes.  Also, the memory needed to store the bitmaps is allocated
when necessary (ie.  before the suspend) and freed after the resume which is
more reasonable.

The patch is designed to minimize the amount of changes and there are some
nice simplifications and optimizations possible on top of it.  I am going to
implement them separately in the future.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:12:59 -07:00
..
console.c [PATCH] swsusp: fix suspend when console is in VT_AUTO+KD_GRAPHICS mode 2007-03-16 19:25:05 -07:00
disk.c swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
Kconfig
main.c swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
Makefile
pm.c
power.h swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
poweroff.c
process.c fix refrigerator() vs thaw_process() race 2007-05-07 12:12:58 -07:00
snapshot.c swsusp: do not use page flags 2007-05-07 12:12:59 -07:00
swap.c [PATCH] x86-64: do not use virt_to_page on kernel data address 2007-05-02 19:27:07 +02:00
swsusp.c [PATCH] swsusp: fix memory shrinker 2007-04-04 21:12:47 -07:00
user.c swsusp: do not use page flags 2007-05-07 12:12:59 -07:00