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

From: Bojan Smojver
Date: Thu Oct 13 2011 - 07:00:36 EST


------- Original message -------
From: Rafael J. Wysocki

I get a kernel panic on a test box using a x86_64 kernel with this patch
applied.

The panic happens during late resume, when trying to switch to the hibernated
kernel.

In an effort to test this whole thing a bit more, I took today's kernel from Linus' repo and applied v11 of my patch. I compiled this on a single cpu machine this time, with 768 MB of memory (in today's terms, this laptop would not pass as a smartphone :-), running F-16 beta.. The system has radeon graphics (my other system, where I initially developed the patch, has intel). Also, this was a 32-bit box, as opposed to my other system, which is 64-bit.

I was getting kernel trouble on repeated hibernate/thaw cycles on both systems when KMS was enabled. With nomodeset passed into the kernel, both systems would go through 50+ cycles (this was my test loop) with no trouble. Whether my patch was applied or not didn't matter - I was getting trouble with Fedora supplied kernels as well, after a few cycles.

So, I don't know for sure, but it seems to me something is amiss in KMS when it comes to hibernation.

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