Re: swsusp: use non-contiguous memory on resume

From: Andrew Morton
Date: Fri Mar 04 2005 - 07:12:00 EST


Pavel Machek <pavel@xxxxxxx> wrote:
>
> Hi!
>
> > > 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.
>
> Yes, I did diff between -mm and -pavel, sorry.
>
> But I can't easily generate diff against -linus because that one is
> dependend on fixing order-8 allocations during suspend. So I guess
> I'll just wait until that one propagates into -linus?
> Pavel

Just generate a patch series?
-
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/