1. 08 Jul, 2008 2 commits
    • Thomas Gleixner's avatar
      x86: janitor CPA statistics patch · 65280e61
      Thomas Gleixner authored
      1) Remove __meminit from update_pages_count. It is used inside
      split_pages()
      
      2) Make the code depend on PROC_FS. Doing statistics for nothing is
      useless and not adding useless code is nice to the Linux tiny folks.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      65280e61
    • Andi Kleen's avatar
      x86, generic: CPA add statistics about state of direct mapping v4 · ce0c0e50
      Andi Kleen authored
      Add information about the mapping state of the direct mapping to
      /proc/meminfo. I chose /proc/meminfo because that is where all the other
      memory statistics are too and it is a generally useful metric even
      outside debugging situations. A lot of split kernel pages means the
      kernel will run slower.
      
      This way we can see how many large pages are really used for it and how
      many are split.
      
      Useful for general insight into the kernel.
      
      v2: Add hotplug locking to 64bit to plug a very obscure theoretical race.
          32bit doesn't need it because it doesn't support hotadd for lowmem.
          Fix some typos
      v3: Rename dpages_cnt
          Add CONFIG ifdef for count update as requested by tglx
          Expand description
      v4: Fix stupid bugs added in v3
          Move update_page_count to pageattr.c
      Signed-off-by: default avatarAndi Kleen <andi@firstfloor.org>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      ce0c0e50
  2. 06 Jul, 2008 5 commits
  3. 05 Jul, 2008 15 commits
  4. 04 Jul, 2008 18 commits