[PATCH] x86_64: Speed up suspend
The following patch speeds up the restoring of swsusp images on x86-64 and makes the assembly code more readable (tested and works on AMD64). Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Changed by AK to not hardcode any C values and get them from offset.h instead and not flushing CR3 needlessly (according to Pavel it was just an old debugging measure that is not needed anymore) Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment