]> xenbits.xen.org Git - xenclient/kernel.git/commit
This interface is primarily useful for doing memory profiling and not much use maps2-patches/maps2-make-proc-pid-smaps-optional-under-config_embedded.patch
authorMatt Mackall <mpm@selenic.com>
Tue, 6 Jan 2009 12:06:05 +0000 (12:06 +0000)
committerMatt Mackall <mpm@selenic.com>
Tue, 6 Jan 2009 12:06:05 +0000 (12:06 +0000)
commit3a825e76ea99833476b6eccd098f5948c9657da0
tree4b21a2834b359c3ff47b0abed8e4a3c8ce1afb4f
parentc5e7cd6a8a25a6417112127b9e805b526cd596da
This interface is primarily useful for doing memory profiling and not much use
on deployed embedded boxes.  Make it optional.  Together with /proc/pid/smaps,
this save a few K.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/proc/base.c     |    4 ++++
 fs/proc/task_mmu.c |    2 ++
 init/Kconfig       |    9 +++++++++
 3 files changed, 15 insertions(+)
fs/proc/base.c
fs/proc/task_mmu.c
init/Kconfig