Re: [PATCH v8]: Improve performance of LZO/plain hibernation

From: Bojan Smojver
Date: Sun Oct 09 2011 - 03:58:15 EST


On Sun, 2011-10-09 at 13:57 +1100, Bojan Smojver wrote:
> My CRC32 checks keep failing on resume.
> I don't get a panic, but still, this should not happen.

False alarm, actually. My threaded CRC32 code was broken and was not
taking some of the last pages into account. I fixed that now in my code
and indeed CRC32 of the decompressed pages is the same as the one of the
pages before compression.

PS. We are going to lose about 10% of the the speed improvements by
introduction of CRC32 (which will only be used with compression). I
reckon it's still worth it.

--
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/