projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ddb15
)
x86: debug: double-check the empty zero page
author
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:32:36 +0000
(13:32 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:32:36 +0000
(13:32 +0100)
temporary debugging - remove before this hits v2.6.25.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/init_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/init_64.c
b/arch/x86/mm/init_64.c
index 6c3f6eb1f790b74f4ef8075ad734db6281950a7f..05f12c527b0257cf55719124ed9cfa769468cffa 100644
(file)
--- a/
arch/x86/mm/init_64.c
+++ b/
arch/x86/mm/init_64.c
@@
-497,6
+497,14
@@
void __init mem_init(void)
/* clear_bss() already clear the empty_zero_page */
+ /* temporary debugging - double check it's true: */
+ {
+ int i;
+
+ for (i = 0; i < 1024; i++)
+ WARN_ON_ONCE(empty_zero_page[i]);
+ }
+
reservedpages = 0;
/* this will put all low memory onto the freelists */