PM: Compress hibernation image with LZO
Subsystems (2)
PATCH 1/2 PM: Compress hibernation image with LZO
Compress hibernation image with LZO in order to save on I/O and therefore time to hibernate/thaw.
Signed-off-by Bojan Smojver <[email protected]>
---
kernel/power/Kconfig | 2 + kernel/power/swap.c | 205 ++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 183 insertions(+), 24 deletions(-)
kernel/power/Kconfig +2 -0
@@ -137,6 +137,8 @@ config SUSPEND_FREEZER config HIBERNATION bool "Hibernation (aka 'suspend to disk')" depends on PM && SWAP && ARCH_HIBERNATION_POSSIBLE + select LZO_COMPRESS + select LZO_DECOMPRESS select SUSPEND_NVS if HAS_IOMEM ---help--- Enable the suspend to disk (STD) functionality, which is usually
kernel/power/swap.c +181 -24
270 lines not on this page · raw message
Signature · 1 line
Bojan
Quoted 2 lines · Bojan Smojver
Compress hibernation image with LZO in order to save on I/O and therefore time to hibernate/thaw.
Oh, and I'm not on the list, so please CC me if you wish to reply.
Signature · 1 line
Bojan