]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PM / Hibernate: Improve performance of LZO/plain hibernation, checksum image
authorBojan Smojver <bojan@rexursive.com>
Thu, 13 Oct 2011 21:58:07 +0000 (23:58 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 13 Oct 2011 21:58:07 +0000 (23:58 +0200)
commitd7aaecb10d724da6d6a095ca5a6bfee81bac6822
tree4382d88e5705b18a95471af2a71319401c47744f
parenta802e24910682918022871a9f5eb5a545e50e7fa
PM / Hibernate: Improve performance of LZO/plain hibernation, checksum image

Use threads for LZO compression/decompression on hibernate/thaw.
Improve buffering on hibernate/thaw.
Calculate/verify CRC32 of the image pages on hibernate/thaw.

In my testing, this improved write/read speed by a factor of about two.

Signed-off-by: Bojan Smojver <bojan@rexursive.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/Kconfig
kernel/power/hibernate.c
kernel/power/power.h
kernel/power/swap.c