Re: swsusp: use non-contiguous memory on resume

From: Andrew Morton
Date: Fri Mar 04 2005 - 06:00:17 EST


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.

-
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/