lkml.org 
[lkml]   [2010]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Memory corruption during hibernation since 2.6.31
    Hi!

    > > I've CC'ed Andrea because we were having an offline conversation about
    > > whether ksmd (and his khugepaged) need to set_freezable(); and I wonder
    > > if this swap bug underlies his interest, though he was mainly worrying
    > > about I/O in progress.
    >
    > My opinion is that with current freezer model it is needed for suspend
    > to disk. The kthread_should_stop seems useless for kswapd/ksmd, but
    > I'm afraid it might get useful in the future so just to stay on the
    > safe side I added it to khugepaged as well, but it's contributing to
    > the pollution.
    >
    > I've no idea why the freezing isn't preemptive (through the scheduler,
    > all these kernel threads are obviously lowlatency beasts) by default

    Hibernation woulld like all tasks frozen with no locks held - so that
    write to disk does not have to care about locking.

    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


    \
     
     \ /
      Last update: 2010-08-09 09:29    [W:0.021 / U:149.560 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site