Messages in this thread | | | Date | Mon, 28 Jul 2008 01:10:33 -0700 | From | Jeremy Fitzhardinge <> | Subject | Re: How to get a sense of VM pressure |
| |
Nick Piggin wrote: > A good start would be to register a "shrinker" (look at dcache or inode > cache for examples). Start off by allocating pages, and slow down or > stop or even release some of the pages back as you start getting feedback > back through your shrinker callback. > > Not perfect, but it should prevent livelocks. >
Thanks, that's a good starting place.
J
| |