Re: Suspend 2 merge: 28/51: Suspend memory pool hooks.

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

Hi!

> We save the image in two pages (LRU and the rest). In order to maintain
> a consistent image, we satisfy all page allocations from our own memory
> pool while saving the image and reloading the LRU. This allows us to
> safely use high level routines which might allocate slab etc and not
> free it again by the time we do our atomic copy. We simply save all of
> the pages in the pool when making our atomic copy of the non-LRU pages,
> without having to worry about exactly how they were or weren't used.

Now you know why two pagesets scare me...
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!