提交 71aa653c 编写于 作者: D David Howells 提交者: Linus Torvalds

nommu: make CONFIG_UNEVICTABLE_LRU available when CONFIG_MMU=n

Make CONFIG_UNEVICTABLE_LRU available when CONFIG_MMU=n.  There's no logical
reason it shouldn't be available, and it can be used for ramfs.
Signed-off-by: NDavid Howells <dhowells@redhat.com>
Reviewed-by: NKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Greg Ungerer <gerg@snapgear.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: Enrik Berkhan <Enrik.Berkhan@ge.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 33925b25
...@@ -206,7 +206,6 @@ config VIRT_TO_BUS ...@@ -206,7 +206,6 @@ config VIRT_TO_BUS
config UNEVICTABLE_LRU config UNEVICTABLE_LRU
bool "Add LRU list to track non-evictable pages" bool "Add LRU list to track non-evictable pages"
default y default y
depends on MMU
help help
Keeps unevictable pages off of the active and inactive pageout Keeps unevictable pages off of the active and inactive pageout
lists, so kswapd will not waste CPU time or have its balancing lists, so kswapd will not waste CPU time or have its balancing
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册