Re: swsusp: use non-contiguous memory on resume
From: Rafael J. Wysocki
Date: Fri Mar 04 2005 - 06:34:00 EST
On Friday, 4 of March 2005 11:51, Andrew Morton wrote:
> Pavel Machek <pavel@xxxxxxx> wrote:
> >
> > Problem is that pagedir is allocated as order-8 allocation on resume
> > in -mmX (and linus). Unfortunately, order-8 allocation sometimes
> > fails, and for some people (Rafael, seife :-) it fails way too often.
> >
> > Solution is to change format of pagedir from table to linklist,
> > avoiding high-order alocation. Unfortunately that means changes to
> > assembly, too, as assembly walks the pagedir.
>
> Ah.
>
> > (Or maybe Rafael is willing to create -mm version and submit it
> > himself?)
>
> No, against -linus, please. But the chunk in kernel/power/swsusp.c looks
> like it came from a diff between -mm and -linus. Or something.
Well, the patch is against -mm, because there already is a different version
of swsusp in -mm, which is needed for this patch to apply.
Originally, the patch consisted of two parts, the first one being fairly independent
on the second one, and the first part went into -mm before 2.6.11-rc4.
Now, I think it's better if I make a consolidated patch against 2.6.11. Would
that be OK?
Rafael
--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
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/