android_kernel_xiaomi_sdm845/kernel/power
Pavel Machek c61978b303 [PATCH] swsusp: fix nr_copy_pages
The following patch moves the recalculation of nr_copy_pages so that the right
number is used in the calculation of the size of memory and swap needed.

It prevents swsusp from attempting to suspend if there is not enough memory
and/or swap (which is unlikely anyway).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-25 16:24:33 -07:00
..
console.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
disk.c [PATCH] suspend/resume SMP support 2005-06-25 16:24:32 -07:00
Kconfig [PATCH] suspend/resume SMP support 2005-06-25 16:24:32 -07:00
main.c [PATCH] suspend/resume SMP support 2005-06-25 16:24:32 -07:00
Makefile [PATCH] suspend/resume SMP support 2005-06-25 16:24:32 -07:00
pm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
power.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
poweroff.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
process.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smp.c [PATCH] suspend/resume SMP support 2005-06-25 16:24:32 -07:00
swsusp.c [PATCH] swsusp: fix nr_copy_pages 2005-06-25 16:24:33 -07:00