Re: Memory corruption during hibernation since 2.6.31

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hugh Dickins
Date: Thursday, July 29, 2010 - 9:02 pm

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Memory corruption during hibernation since 2.6.31, Ondrej Zary, (Wed Jul 28, 2:20 pm)
Re: Memory corruption during hibernation since 2.6.31, Rafael J. Wysocki, (Wed Jul 28, 2:34 pm)
Re: Memory corruption during hibernation since 2.6.31, Ondrej Zary, (Wed Jul 28, 2:38 pm)
Re: Memory corruption during hibernation since 2.6.31, KAMEZAWA Hiroyuki, (Wed Jul 28, 6:06 pm)
Re: Memory corruption during hibernation since 2.6.31, KAMEZAWA Hiroyuki, (Wed Jul 28, 7:51 pm)
Re: Memory corruption during hibernation since 2.6.31, KAMEZAWA Hiroyuki, (Wed Jul 28, 9:23 pm)
Re: Memory corruption during hibernation since 2.6.31, KOSAKI Motohiro, (Wed Jul 28, 10:23 pm)
Re: Memory corruption during hibernation since 2.6.31, KAMEZAWA Hiroyuki, (Wed Jul 28, 10:24 pm)
Re: Memory corruption during hibernation since 2.6.31, KOSAKI Motohiro, (Wed Jul 28, 10:30 pm)
Re: Memory corruption during hibernation since 2.6.31, Ondrej Zary, (Thu Jul 29, 10:33 am)
Re: Memory corruption during hibernation since 2.6.31, Hugh Dickins, (Thu Jul 29, 11:44 am)
Re: Memory corruption during hibernation since 2.6.31, Andrea Arcangeli, (Thu Jul 29, 11:55 am)
Re: Memory corruption during hibernation since 2.6.31, Rafael J. Wysocki, (Thu Jul 29, 4:29 pm)
Re: Memory corruption during hibernation since 2.6.31, Rafael J. Wysocki, (Thu Jul 29, 4:40 pm)
Re: Memory corruption during hibernation since 2.6.31, KAMEZAWA Hiroyuki, (Thu Jul 29, 5:01 pm)
Re: Memory corruption during hibernation since 2.6.31, KAMEZAWA Hiroyuki, (Thu Jul 29, 8:36 pm)
Re: Memory corruption during hibernation since 2.6.31, Hugh Dickins, (Thu Jul 29, 8:54 pm)
Re: Memory corruption during hibernation since 2.6.31, Hugh Dickins, (Thu Jul 29, 9:02 pm)
Re: Memory corruption during hibernation since 2.6.31, Hugh Dickins, (Thu Jul 29, 9:10 pm)
Re: Memory corruption during hibernation since 2.6.31, KAMEZAWA Hiroyuki, (Thu Jul 29, 9:14 pm)
Re: Memory corruption during hibernation since 2.6.31, Balbir Singh, (Thu Jul 29, 9:18 pm)
Re: Memory corruption during hibernation since 2.6.31, Hugh Dickins, (Thu Jul 29, 9:32 pm)
Re: Memory corruption during hibernation since 2.6.31, Hugh Dickins, (Thu Jul 29, 9:46 pm)
Re: Memory corruption during hibernation since 2.6.31, Balbir Singh, (Thu Jul 29, 11:37 pm)
Re: Memory corruption during hibernation since 2.6.31, KAMEZAWA Hiroyuki, (Fri Jul 30, 3:43 am)
Re: Memory corruption during hibernation since 2.6.31, Hugh Dickins, (Fri Jul 30, 11:16 am)
[RFC][PATCH -mm] hibernation: freeze swap at hibernation ( ..., KAMEZAWA Hiroyuki, (Sun Aug 1, 11:02 pm)
Re: Memory corruption during hibernation since 2.6.31, Andrea Gelmini, (Tue Aug 3, 3:50 am)
Re: Memory corruption during hibernation since 2.6.31, KAMEZAWA Hiroyuki, (Tue Aug 3, 4:36 pm)
[PATCH -mm] hibernation: freeze swap at hibernation v2, KAMEZAWA Hiroyuki, (Tue Aug 3, 9:57 pm)
Re: [PATCH -mm] hibernation: freeze swap at hibernation v2, KAMEZAWA Hiroyuki, (Wed Aug 4, 5:32 pm)
Re: Memory corruption during hibernation since 2.6.31, Andrea Gelmini, (Thu Aug 5, 4:41 am)
Re: Memory corruption during hibernation since 2.6.31, Pavel Machek, (Mon Aug 9, 12:26 am)