Re: [PATCH -mm] swsusp: support creating bigger images (rev. 2)

From: Andrew Morton
Date: Tue May 09 2006 - 18:29:52 EST


"Rafael J. Wysocki" <rjw@xxxxxxx> 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.

So... could we check your homework on this please? How come only page
reclaim can disturb these pages?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/