Re: swsusp: use non-contiguous memory on resume

From: Rafael J. Wysocki
Date: Fri Mar 04 2005 - 07:42:28 EST


On Friday, 4 of March 2005 12:52, Pavel Machek 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?
> >
> > Just generate a patch series?
>
> When #1 of the series is already in -mm? Okay, I guess we can do that.

Can I?

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/