lkml.org 
[lkml]   [2006]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH -mm] swsusp: support creating bigger images (rev. 2)
    Date
    On Wednesday 10 May 2006 00:27, Andrew Morton wrote:
    > "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
    > >
    > > Now if the mapped pages that are not mapped by the
    > > current task are considered, it turns out that they would change only if they
    > > were reclaimed by try_to_free_pages().  Thus if we take them out of reach
    > > of try_to_free_pages(), for example by (temporarily) moving them out of their
    > > respective LRU lists after creating the image, we will be able to include them
    > > in the image without copying.
    >
    > I'm a bit curious about how this is true. There are all sorts of way in
    > which there could be activity against these pages - interrupt-time
    > asynchronous network Tx completion, async interrupt-time direct-io
    > completion, tasklets, schedule_work(), etc, etc.

    AFAIK, many of these things are waited for uninterruptibly, and uninterruptible
    tasks cannot be frozen. Theoretically we may have a problem if there's an
    interruptible task that waits for the completion of an operation that gets
    finished after snapshotting the system. However that would have to survive the
    syncing of filesystems, freezing of kernel threads, freeing of memory as well
    as suspending and resuming all devices. [In which case it would be starving
    to death. :-)]

    Greetings,
    Rafael
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-05-11 01:01    [W:2.536 / U:0.972 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site