Re: [PATCH] [7/7] CPA: Add statistics about state of direct mapping v2



On Fri, Mar 21, 2008 at 06:41:59PM +0100, Thomas Gleixner wrote:
On Wed, 12 Mar 2008, Andi Kleen wrote:
Add information about the mapping state of the direct mapping to
/proc/meminfo.

Please use debugfs for this.

But it's not debugging. Or are you saying all memory state information
in /proc/meminfo is debugging information? I would say it is generic
memory state tracking, similar to VmallocUsed or Slab: or NFS_Unstable:
e.g. I would expect a machine to go slower if all direct mapping pages
are split due to increase TLB misses and that information is generally
useful and should not be forced into some debugging ghetto.

-Andi

--
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/



Relevant Pages

  • [PATCH 4/5] debugfs - Modified default dir of debugfs for debugging UHCI.
    ... Modified default mounting dir of debugfs for debugging UHCI. ... Change default debugfs directory as mounting point for debugging ... debug = 1, dump failed URBs except for stalls ...
    (Linux-Kernel)
  • Re: jbd : config_jbd_debug cannot create /proc entry
    ... Adapted from the JBD2 patch. ... debugfs which would be the preferred location for this kind of tunable. ... debugging output will be turned off. ...
    (Linux-Kernel)
  • Re: VS2005 code edit whilst debugging Web Application Project
    ... > in vs2003 i used to be able to start debugging, step through, then if i ... > area in the ide is locked, and attempting to type anything just gives ... > me a msgbox saying you cannot edit whilst debugging. ... > application project type (as i understand the 'web site' model allows ...
    (microsoft.public.vsnet.general)
  • [PATCH] JBD: Export jbd-debug via debugfs
    ... JBD: Export jbd-debug via debugfs ... debugfs which would be the preferred location for this kind of tunable. ... debugging output will be turned off. ...
    (Linux-Kernel)
  • Re: debugfs in the namespace
    ... > I thought debugfs was meant for just debugging. ... where we should mount it at. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)