diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2009-06-16 18:32:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 22:47:42 -0400 |
commit | 6837765963f1723e80ca97b1fae660f3a60d77df (patch) | |
tree | a9a6ed4b7e3bf188966da78b04bf39298f24375a /mm/page_alloc.c | |
parent | bce7394a3ef82b8477952fbab838e4a6e8cb47d2 (diff) |
mm: remove CONFIG_UNEVICTABLE_LRU config option
Currently, nobody wants to turn UNEVICTABLE_LRU off. Thus this
configurability is unnecessary.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Andi Kleen <andi@firstfloor.org>
Acked-by: Minchan Kim <minchan.kim@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 00e293734fc9..c95a77cd581b 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -2077,19 +2077,14 @@ void show_free_areas(void) | |||
2077 | 2077 | ||
2078 | printk("Active_anon:%lu active_file:%lu inactive_anon:%lu\n" | 2078 | printk("Active_anon:%lu active_file:%lu inactive_anon:%lu\n" |
2079 | " inactive_file:%lu" | 2079 | " inactive_file:%lu" |
2080 | //TODO: check/adjust line lengths | ||
2081 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
2082 | " unevictable:%lu" | 2080 | " unevictable:%lu" |
2083 | #endif | ||
2084 | " dirty:%lu writeback:%lu unstable:%lu\n" | 2081 | " dirty:%lu writeback:%lu unstable:%lu\n" |
2085 | " free:%lu slab:%lu mapped:%lu pagetables:%lu bounce:%lu\n", | 2082 | " free:%lu slab:%lu mapped:%lu pagetables:%lu bounce:%lu\n", |
2086 | global_page_state(NR_ACTIVE_ANON), | 2083 | global_page_state(NR_ACTIVE_ANON), |
2087 | global_page_state(NR_ACTIVE_FILE), | 2084 | global_page_state(NR_ACTIVE_FILE), |
2088 | global_page_state(NR_INACTIVE_ANON), | 2085 | global_page_state(NR_INACTIVE_ANON), |
2089 | global_page_state(NR_INACTIVE_FILE), | 2086 | global_page_state(NR_INACTIVE_FILE), |
2090 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
2091 | global_page_state(NR_UNEVICTABLE), | 2087 | global_page_state(NR_UNEVICTABLE), |
2092 | #endif | ||
2093 | global_page_state(NR_FILE_DIRTY), | 2088 | global_page_state(NR_FILE_DIRTY), |
2094 | global_page_state(NR_WRITEBACK), | 2089 | global_page_state(NR_WRITEBACK), |
2095 | global_page_state(NR_UNSTABLE_NFS), | 2090 | global_page_state(NR_UNSTABLE_NFS), |
@@ -2113,9 +2108,7 @@ void show_free_areas(void) | |||
2113 | " inactive_anon:%lukB" | 2108 | " inactive_anon:%lukB" |
2114 | " active_file:%lukB" | 2109 | " active_file:%lukB" |
2115 | " inactive_file:%lukB" | 2110 | " inactive_file:%lukB" |
2116 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
2117 | " unevictable:%lukB" | 2111 | " unevictable:%lukB" |
2118 | #endif | ||
2119 | " present:%lukB" | 2112 | " present:%lukB" |
2120 | " pages_scanned:%lu" | 2113 | " pages_scanned:%lu" |
2121 | " all_unreclaimable? %s" | 2114 | " all_unreclaimable? %s" |
@@ -2129,9 +2122,7 @@ void show_free_areas(void) | |||
2129 | K(zone_page_state(zone, NR_INACTIVE_ANON)), | 2122 | K(zone_page_state(zone, NR_INACTIVE_ANON)), |
2130 | K(zone_page_state(zone, NR_ACTIVE_FILE)), | 2123 | K(zone_page_state(zone, NR_ACTIVE_FILE)), |
2131 | K(zone_page_state(zone, NR_INACTIVE_FILE)), | 2124 | K(zone_page_state(zone, NR_INACTIVE_FILE)), |
2132 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
2133 | K(zone_page_state(zone, NR_UNEVICTABLE)), | 2125 | K(zone_page_state(zone, NR_UNEVICTABLE)), |
2134 | #endif | ||
2135 | K(zone->present_pages), | 2126 | K(zone->present_pages), |
2136 | zone->pages_scanned, | 2127 | zone->pages_scanned, |
2137 | (zone_is_all_unreclaimable(zone) ? "yes" : "no") | 2128 | (zone_is_all_unreclaimable(zone) ? "yes" : "no") |