]> git.baikalelectronics.ru Git - kernel.git/commit
x86: janitor CPA statistics patch
authorThomas Gleixner <tglx@linutronix.de>
Mon, 5 May 2008 14:35:21 +0000 (16:35 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 06:12:05 +0000 (08:12 +0200)
commitb771d0c8f3205cd3309ed7314aee8ab3b4d2aec5
treebc3dfcff341afcec6db6f2bdba5e62310059f120
parentab0e18d988745dad858a812ef4cfe8a3cd1c3ce5
x86: janitor CPA statistics patch

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: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr.c
include/asm-x86/pgtable.h