On Thu, Jul 29, 2010 at 4:40 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
But it's looking as if any thread which might have to allocate some memory
(and ksmd is on balance a freer of memory, but nonetheless has to do
slab allocations to get there) would need to be frozen.
Except that does not go far enough, because freezing the hibernating
thread (which itself makes memory allocations) won't work out well!
Andrea wasn't proposing his patch for Ondrej's corruption, and I don't
suppose Ondrej even has ksmd running. Any confusion there is my
fault, for linking Andrea's concerns about suspend and hibernation
with this particular thread on Ondrej's bug.
Hugh
--