Re: [PATCH 11/11] maps3: make page monitoring /proc file optional

From: Jeremy Fitzhardinge
Date: Mon Oct 15 2007 - 18:51:29 EST


Dave Hansen wrote:
> On Mon, 2007-10-15 at 17:26 -0500, Matt Mackall wrote:
>
>> +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.
>>
>
> How about pulling the EMBEDDED off there? I certainly want it for
> non-embedded reasons. ;)

That means it will only bother asking you if you've set EMBEDDED;
otherwise its always on.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/