android_kernel_xiaomi_sm8350/kernel/power
Rafael J. Wysocki 0709db6072 swsusp: use GFP_KERNEL for creating basic data structures
Make swsusp call create_basic_memory_bitmaps() before processes are frozen, so
that GFP_KERNEL allocations can be made in it.  Additionally, ensure that the
swsusp's userland interface won't be used while either pm_suspend_disk() or
software_resume() is being executed.

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: use GFP_KERNEL for creating basic data structures 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: use GFP_KERNEL for creating basic data structures 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: use GFP_KERNEL for creating basic data structures 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: use GFP_KERNEL for creating basic data structures 2007-05-07 12:12:59 -07:00