android_kernel_xiaomi_sm7250/kernel/power
Michal Schmidt 56057e1a12 [PATCH] swsusp: simpler calculation of number of pages in PBE list
The function calc_nr uses an iterative algorithm to calculate the number of
pages needed for the image and the pagedir.  Exactly the same result can be
obtained with a one-line expression.

Note that this was even proved correct ;-).

Signed-off-by: Michal Schmidt <xschmi00@stud.feec.vutbr.cz>
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-09-05 00:06:17 -07:00
..
console.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
disk.c [PATCH] swpsuspend: Have suspend to disk use factors of sys_reboot 2005-07-26 14:35:44 -07:00
Kconfig [PATCH] encrypt suspend data for easy wiping 2005-09-05 00:06:16 -07:00
main.c [ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... 2005-07-12 17:21:56 -04: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 [PATCH] Use kernel_power_off in sysrq-o 2005-07-26 14:35:43 -07:00
process.c [PATCH] remove busywait in refrigerator 2005-09-05 00:06:14 -07:00
smp.c [PATCH] Address BUG: using smp_processor_id() in preemptible [00000001] code 2005-07-27 16:25:50 -07:00
swsusp.c [PATCH] swsusp: simpler calculation of number of pages in PBE list 2005-09-05 00:06:17 -07:00