Re: swsusp: 8-order allocation failure on demand (update)

From: Rafael J. Wysocki
Date: Sat Oct 16 2004 - 16:09:07 EST


On Saturday 16 of October 2004 22:40, Pavel Machek wrote:
> Hi!
>
> > > Unfortunately that's rather ugly. You'd ~32 bytes per 4K page, that's
> > > almost 1% overhead, not nice. Better solution (but more work) is to
> > > switch to link-lists or integrate swsusp2.
> >
> > Well, I wonder if the page allocation failures are a swsusp problem,
> > really.
>
> Yes, they are. Kernel memory allocation is not design to do 8-order
> allocations properly. swsusp really should not use them.

Now that's clear, thanks. Could you tell me, please, what I need to know to
understand the swsusp code and what I should start with?

Greets,
RJW

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