From: Minchan Kim <minchan.kim@gmail.com>
To: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
linux-mm <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>,
Lee Schermerhorn <Lee.Schermerhorn@hp.com>,
Minchan Kim <minchan.kim@gmail.com>
Subject: Re: [PATCH] Kconfig: CONFIG_UNEVICTABLE_LRU move into EMBEDDED submenu
Date: Wed, 13 May 2009 17:51:52 +0900 [thread overview]
Message-ID: <20090513175152.1590c117.minchan.kim@barrios-desktop> (raw)
In-Reply-To: <20090513172904.7234.A69D9226@jp.fujitsu.com>
Hi, Kosaki.
On Wed, 13 May 2009 17:30:45 +0900 (JST)
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:
> Subject: [PATCH] Kconfig: CONFIG_UNEVICTABLE_LRU move into EMBEDDED submenu
>
> Almost people always turn on CONFIG_UNEVICTABLE_LRU. this configuration is
> used only embedded people.
I think at least embedded guys don't need it.
But I am not sure other guys.
> Thus, moving it into embedded submenu is better.
>
>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
> Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
> Cc: Minchan Kim <minchan.kim@gmail.com>
> ---
> init/Kconfig | 12 ++++++++++++
> mm/Kconfig | 12 ------------
> 2 files changed, 12 insertions(+), 12 deletions(-)
>
> Index: b/mm/Kconfig
> ===================================================================
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -203,18 +203,6 @@ config VIRT_TO_BUS
> def_bool y
> depends on !ARCH_NO_VIRT_TO_BUS
>
> -config UNEVICTABLE_LRU
> - bool "Add LRU list to track non-evictable pages"
> - default y
> - help
> - Keeps unevictable pages off of the active and inactive pageout
> - lists, so kswapd will not waste CPU time or have its balancing
> - algorithms thrown off by scanning these pages. Selecting this
> - will use one page flag and increase the code size a little,
> - say Y unless you know what you are doing.
> -
> - See Documentation/vm/unevictable-lru.txt for more information.
> -
> config HAVE_MLOCK
> bool
> default y if MMU=y
> Index: b/init/Kconfig
> ===================================================================
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -954,6 +954,18 @@ config SLUB_DEBUG
> SLUB sysfs support. /sys/slab will not exist and there will be
> no support for cache validation etc.
>
> +config UNEVICTABLE_LRU
> + bool "Add LRU list to track non-evictable pages" if EMBEDDED
> + default y
If you want to move, it would be better as following.
config UNEVICTABLE_LRU
bool "Add LRU list to track non-evictable pages" if EMBEDDED
default !EMBEDDED
For embedded, it is disabled by default.
> + help
> + Keeps unevictable pages off of the active and inactive pageout
> + lists, so kswapd will not waste CPU time or have its balancing
> + algorithms thrown off by scanning these pages. Selecting this
> + will use one page flag and increase the code size a little,
> + say Y unless you know what you are doing.
> +
> + See Documentation/vm/unevictable-lru.txt for more information.
> +
> config STRIP_ASM_SYMS
> bool "Strip assembler-generated symbols during link"
> default n
>
>
--
Kinds 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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2009-05-13 8:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 8:30 KOSAKI Motohiro
2009-05-13 8:51 ` Minchan Kim [this message]
2009-05-13 8:59 ` KOSAKI Motohiro
2009-05-13 10:12 ` Minchan Kim
2009-05-13 10:37 ` David Woodhouse
2009-05-13 11:13 ` Minchan Kim
2009-05-13 14:34 ` Matt Mackall
2009-05-13 14:45 ` David Woodhouse
2009-05-13 11:09 ` Andi Kleen
2009-05-13 11:18 ` KOSAKI Motohiro
2009-05-13 11:38 ` Andi Kleen
2009-05-13 11:41 ` Minchan Kim
2009-05-13 11:49 ` Andi Kleen
2009-05-13 11:58 ` KOSAKI Motohiro
2009-05-13 12:12 ` Minchan Kim
2009-05-13 14:13 ` Andi Kleen
2009-05-13 23:17 ` KOSAKI Motohiro
2009-05-13 11:24 ` Johannes Weiner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090513175152.1590c117.minchan.kim@barrios-desktop \
--to=minchan.kim@gmail.com \
--cc=Lee.Schermerhorn@hp.com \
--cc=akpm@linux-foundation.org \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox