[lkml]   [2011]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 02/10] compaction: trivial clean up acct_isolated
On 05/29/2011 02:13 PM, Minchan Kim wrote:
> acct_isolated of compaction uses page_lru_base_type which returns only
> base type of LRU list so it never returns LRU_ACTIVE_ANON or LRU_ACTIVE_FILE.
> In addtion, cc->nr_[anon|file] is used in only acct_isolated so it doesn't have
> fields in conpact_control.
> This patch removes fields from compact_control and makes clear function of
> acct_issolated which counts the number of anon|file pages isolated.
> Cc: KOSAKI Motohiro<>
> Cc: Mel Gorman<>
> Cc: Rik van Riel<>
> Cc: Andrea Arcangeli<>
> Cc: Johannes Weiner<>
> Reviewed-by: KAMEZAWA Hiroyuki<>
> Signed-off-by: Minchan Kim<>

Acked-by: Rik van Riel <>

 \ /
  Last update: 2011-06-01 17:33    [W:0.163 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site