Re: [PATCH]: Compress hibernation image with LZO (in-kernel)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bojan Smojver
Date: Wednesday, August 4, 2010 - 6:26 pm

On Wed, 2010-08-04 at 12:47 +1000, Bojan Smojver wrote:

Well, either I'm doing something idiotic when setting up
overlapping/in-place compression/decompression buffers or the routines
do not work as advertised. In any event, the image is subtly corrupt on
resume using this technique (checksum verified), hence the segfaults.
Please do not use this code on your systems - it may corrupt your file
systems.

For now, I will finalize the patch using two buffers, but I'll drop the
number of pages down to 32, so that we use roughly the same amount of
memory as with overlapping/in-place compression/decompression. Slightly
slower than with 64 pages, but still much faster than original code.

-- 
Bojan

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]: Compress hibernation image with LZO (in-kernel), Bojan Smojver, (Thu Jul 29, 9:46 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Fri Jul 30, 3:05 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Fri Jul 30, 4:40 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Fri Jul 30, 6:18 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Sun Aug 1, 5:17 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Sun Aug 1, 6:10 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Sun Aug 1, 6:27 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 6:50 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Tue Aug 3, 7:02 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Tue Aug 3, 7:18 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Tue Aug 3, 7:24 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:24 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:37 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:38 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:42 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 9:23 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Bojan Smojver, (Wed Aug 4, 6:26 pm)