Thread (32 messages) 32 messages, 4 authors, 2011-06-13

Re: [PATCH v3 01/10] compaction: trivial clean up acct_isolated

From: Minchan Kim <hidden>
Date: 2011-06-13 14:49:13
Also in: lkml

On Sun, Jun 12, 2011 at 04:24:05PM +0200, Michal Hocko wrote:
On Tue 07-06-11 23:38:14, Minchan Kim wrote:
quoted
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 <redacted>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Andrea Arcangeli <redacted>
Acked-by: Rik van Riel <redacted>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: KAMEZAWA Hiroyuki <redacted>
Signed-off-by: Minchan Kim <redacted>
Sorry for the late reply. I have looked at the previous posting but
No problem. Thanks for the review, Michal.
didn't have time to comment on it.

Yes, stack usage reduction makes sense and the function also looks more
compact.

Reviewed-by: Michal Hocko <redacted>
-- 
Kind regards,
Minchan Kim

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help