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

Pavel Machek
2004-11-26T19:47:15Z

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!