Re: Memory corruption during hibernation since 2.6.31

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafael J. Wysocki
Date: Thursday, July 29, 2010 - 4:40 pm

On Thursday, July 29, 2010, Andrea Arcangeli wrote:

This is a result of several discussions on the LKML. :-)  Basically, the vast
majority of kernel threads need not be frozen and attempting to freeze them
all introduces race conditions that are extremely diffucult to resolve (eg.
with multithread workqueues).


I'm afraid that would be difficult to achieve in general.  Besides, there's
no reason why kernel threads that need not be frozen should care about the
freezing thing at all.  It's much simpler to require the ones that need to be
frozen to cooperate.


Looks good to me.

Can you please prepare a patch against mainline for Ondrej to try?

Thanks,
Rafael



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