[lkml]   [2007]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Remove process freezer from suspend to RAM pathway

    > > > The main reason for deadlocks is because we do a sys_sync() after the
    > > > freeze, which we shouldn't do.
    > >
    > > So why don't we remove the sys_sync() from freeze_processes() instead?
    > The patch follows (untested).
    > Greetings,
    > Rafael
    > ---
    > From: Rafael J. Wysocki <>
    > We shouldn't sync filesystems from within the freezer, because it's not needed
    > for suspend to RAM and leads to problems with FUSE.

    Actually... It is not _needed_ for suspend to disk, either. Snapshot is
    atomic, so it should be okay to suspend with filesystems dirty.

    _But_, if anything goes wrong, we'd prefer to have at least
    filesystems synced. Battery running out during s2ram is not quite
    uncommon, so we perhaps should do sync somewhere there. (But we can do
    it before freezer just fine).

    (cesky, pictures)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-07-03 21:31    [W:0.022 / U:8.200 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site