[lkml]   [2009]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] mm: count only reclaimable lru pages
On Thu, 16 Jul 2009, Peter Zijlstra wrote:

> > What would you suggest? In fact I'm not totally comfortable with it.
> > Maybe it would be safer to simply stick with the old _lru_pages
> > naming?
> Nah, I like the reclaimable name, these pages are at least potentially
> reclaimable.
> lru_pages() is definately not correct anymore since you exclude the
> unevictable and possibly the anon pages.

Well lets at least add a comment at the beginning of the functions
explaining that these are potentially reclaimable and list some of the
types of pages that may not be reclaimable.

 \ /
  Last update: 2009-07-16 16:41    [W:0.038 / U:3.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site