diff options
author | Bojan Smojver <bojan@rexursive.com> | 2010-09-09 17:06:23 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-16 19:57:42 -0400 |
commit | f996fc9671d088bd5f52a70f18c64bfe3d0e418f (patch) | |
tree | 3d88b5adfa21fc71cbabb9a891d37b0c1ce1c692 /kernel/power/Kconfig | |
parent | 05aa55dddb9ee4045c320661068bea78dad6a6e5 (diff) |
PM / Hibernate: Compress hibernation image with LZO
Compress hibernation image with LZO in order to save on I/O and
therefore time to hibernate/thaw.
[rjw: Added hibernate=nocompress command line option instead of just
nocompress which would be confusing, fixed a couple of compiler
warnings, fixed kerneldoc comments, minor cleanups.]
Signed-off-by: Bojan Smojver <bojan@rexursive.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r-- | kernel/power/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index ca6066a6952e..cb57eb99215f 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
@@ -137,6 +137,8 @@ config SUSPEND_FREEZER | |||
137 | config HIBERNATION | 137 | config HIBERNATION |
138 | bool "Hibernation (aka 'suspend to disk')" | 138 | bool "Hibernation (aka 'suspend to disk')" |
139 | depends on PM && SWAP && ARCH_HIBERNATION_POSSIBLE | 139 | depends on PM && SWAP && ARCH_HIBERNATION_POSSIBLE |
140 | select LZO_COMPRESS | ||
141 | select LZO_DECOMPRESS | ||
140 | select SUSPEND_NVS if HAS_IOMEM | 142 | select SUSPEND_NVS if HAS_IOMEM |
141 | ---help--- | 143 | ---help--- |
142 | Enable the suspend to disk (STD) functionality, which is usually | 144 | Enable the suspend to disk (STD) functionality, which is usually |