[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4691D41C.7050405@goop.org>
Date: Sun, 08 Jul 2007 23:22:20 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Jeremy Maitin-Shepard <jbms@....edu>
CC: Nick Piggin <nickpiggin@...oo.com.au>, Al Boldi <a1426z@...ab.com>,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: Hibernation Redesign
Jeremy Maitin-Shepard wrote:
> It would indeed be a pain for the new kernel to be loaded and have to
> use discontiguous memory. The trick is, though, that this is not
> necessary. Immediately before jumping to the new kernel, the first X
> bytes (where X is the amount of memory the new kernel will get,
> typically 16MB or 64MB) of physical memory are backed up into the
> arbitrary discontiguous pages that are made available. This will not
> take very long, because copying even 64MB of memory is extremely fast.
> Then the new kernel is free to use the first X bytes of contiguous
> physical memory. Problem solved.
>
You could also use the paravirt_ops pte hooks to create a mapping from
linear "physical" addresses to actual machine pages. This is what a Xen
kernel needs to do, and all the infrastructure will be in place shortly.
J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists