Re: [PATCH v9]: Improve performance of LZO/plain hibernation, checkimage with CRC32

From: Bojan Smojver
Date: Sun Oct 09 2011 - 20:35:34 EST


On Mon, 2011-10-10 at 10:53 +1100, Bojan Smojver wrote:
> --- a/kernel/power/Kconfig
> +++ b/kernel/power/Kconfig
> @@ -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.

--
Bojan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/