[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.0.9999.0710152223400.13454@chino.kir.corp.google.com>
Date: Mon, 15 Oct 2007 22:25:07 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Matt Mackall <mpm@...enic.com>
cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Dave Hansen <haveblue@...ibm.com>,
Rusty Russell <rusty@...tcorp.com.au>,
Jeremy Fitzhardinge <jeremy@...p.org>,
Fengguang Wu <wfg@...l.ustc.edu.cn>
Subject: Re: [PATCH 11/11] maps3: make page monitoring /proc file optional
On Mon, 15 Oct 2007, Matt Mackall wrote:
> Index: l/init/Kconfig
> ===================================================================
> --- l.orig/init/Kconfig 2007-10-14 13:35:07.000000000 -0500
> +++ l/init/Kconfig 2007-10-15 17:18:16.000000000 -0500
> @@ -571,6 +571,15 @@ config SLOB
>
> endchoice
>
> +config PROC_PAGE_MONITOR
> + default y
> + bool "Enable /proc page monitoring" if EMBEDDED && PROC_FS && MMU
> + help
> + Various /proc files exist to monitor process memory utilization:
> + /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
> + /proc/kpagecount, and /proc/kpageflags. Disabling these
> + interfaces will reduce the size of the kernel by approximately 4kb.
> +
> endmenu # General setup
>
> config RT_MUTEXES
It's probably better not to include the text size savings since it will
most likely be outdated at some time in the future.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists