android_kernel_xiaomi_sm8350/kernel/power
Rafael J. Wysocki 2c1b4a5ca4 [PATCH] swsusp: rework memory freeing on resume
The following patch makes swsusp use the PG_nosave and PG_nosave_free flags to
mark pages that should be freed in case of an error during resume.

This allows us to simplify the code and to use swsusp_free() in all of the
swsusp's resume error paths, which makes them actually work.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:14 -08:00
..
console.c
disk.c [PATCH] swsusp: rework memory freeing on resume 2005-10-30 17:37:14 -08:00
Kconfig [PATCH] SOFTWARE_SUSPEND needs HOTPLUG_CPU on SMP 2005-09-22 22:17:34 -07:00
main.c [PATCH] pm: clean up /sys/power/disk 2005-09-05 00:06:18 -07:00
Makefile [PATCH] swsusp: move snapshot functionality to separate file 2005-10-30 17:37:14 -08:00
pm.c [PATCH] introduce and use kzalloc 2005-09-07 16:57:45 -07:00
power.h [PATCH] swsusp: rework memory freeing on resume 2005-10-30 17:37:14 -08:00
poweroff.c [PATCH] Use kernel_power_off in sysrq-o 2005-07-26 14:35:43 -07:00
process.c [PATCH] pm: fix process freezing 2005-09-05 00:06:17 -07:00
smp.c [PATCH] Address BUG: using smp_processor_id() in preemptible [00000001] code 2005-07-27 16:25:50 -07:00
snapshot.c [PATCH] swsusp: rework memory freeing on resume 2005-10-30 17:37:14 -08:00
swsusp.c [PATCH] swsusp: rework memory freeing on resume 2005-10-30 17:37:14 -08:00