Messages in this thread | | | Subject | Re: [PATCH 2/3] fadvise: Add _VOLATILE,_ISVOLATILE, and _NONVOLATILE flags | From | Peter Zijlstra <> | Date | Tue, 24 Apr 2012 21:20:11 +0200 |
| |
On Tue, 2012-04-24 at 10:49 -0700, John Stultz wrote: > +/* > + * Purges volatile ranges when under memory pressure > + */ > +static int volatile_shrink(struct shrinker *ignored, struct shrink_control *sc) > +{
Hmm, I would have expected regular page reclaim to know about this instead of using a shrinker interface. Is this done specifically to avoid growing small holes in all ranges and instead dump entire ranges thereby keeping other ranges usable?
| |