[lkml]   [2009]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/4] Properly account for the number of page cache pages zone_reclaim() can reclaim
Mel Gorman wrote:

> This patch alters how zone_reclaim() works out how many pages it might be
> able to reclaim given the current reclaim_mode. If RECLAIM_SWAP is set
> in the reclaim_mode it will either consider NR_FILE_PAGES as potential
> candidates or else use NR_{IN}ACTIVE}_PAGES-NR_FILE_MAPPED to discount
> swapcache and other non-file-backed pages. If RECLAIM_WRITE is not set,
> then NR_FILE_DIRTY number of pages are not candidates. If RECLAIM_SWAP is
> not set, then NR_FILE_MAPPED are not.
> Signed-off-by: Mel Gorman <>
> Acked-by: Christoph Lameter <>

Reviewed-by: Rik van Riel <>

All rights reversed.

 \ /
  Last update: 2009-06-09 20:19    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean