Re: Suspend 2 merge: 37/51: Memory pool support.

From: Pavel Machek
Date: Fri Nov 26 2004 - 18:34:45 EST


Hi!

> This is the memory pool support. It handles all pages freed and
> allocated between the preparation of the image and the completion of
> resuming, except prior to restoring the original kernel at resume time.
> It is designed for speed and to match the fact that suspend2 just about
> exclusively uses order 0 allocations. ("Just about" is why a couple of
> order one and two allocations are also available).

You really should use generic routines. Having your own malloc of
course allows you to be slightly faster; but it also means that code
is much bigger and much uglier.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
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/