Re: How to get a sense of VM pressure

Jeremy Fitzhardinge
2008-07-28T08:10:33Z

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