Re: [PATCH v5]: Improve performance of LZO hibernation

From: Pekka Enberg
Date: Wed Sep 28 2011 - 09:02:36 EST


On Wed, Sep 28, 2011 at 10:54 AM, Bojan Smojver <bojan@xxxxxxxxxxxxx> wrote:
> I'm guessing here that you mean that parts of the kernel other than
> hibernation code itself can do this (i.e. set the flag for the thread to
> stop, so kthread_should_stop() returns true). Correct?

Sorry, I'm not familiar this code. However, if you're checking for the
condition..

[snip]

> Right now, this would result in - well I don't know what exactly - most
> likely corrupted data on disk or on memory.

...this is not really an option for handling it.

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