Skip to contentSkip to conversation

: Improve performance of LZO/plain hibernation, check image with CRC32

PATCH Bojan Smojver 1 participant 1 message Oct 10, 2011

lore
Share & tools
lore
#0 lore raw

kernel/power/Kconfig config HIBERNATION · line 33

Quoted 10 lines · Bojan Smojver
kernel/power/Kconfig +1 -0
@@ -27,6 +27,7 @@ config HIBERNATION
        select HIBERNATE_CALLBACKS
        select LZO_COMPRESS
        select LZO_DECOMPRESS
+       select CRC32
        ---help---
          Enable the suspend to disk (STD) functionality, which is usually
          called "hibernation" in user interfaces.  STD checkpoints the 

Not sure whether this is really required (I mean select CRC32). The docs say:
------------------
config CRC32
tristate "CRC32 functions"
default y
select BITREVERSE
help
This option is provided for the case where no in-kernel-tree modules require CRC32 functions, but a module built outside the kernel tree does. Such modules that use library CRC32 functions
------------------

Obviously, hibernation is in the kernel, so maybe we don't need this after all.

If you know for sure, feel free to point it out.

Signature · 1 line
Bojan