2008-02-21 02:44:58

by Yinghai Lu

[permalink] [raw]
Subject: [PATCH] x86_64: remove double-checking empty zero pages debug


so far, no one complained that.

Signed-off-by: Yinghai Lu <[email protected]>

diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index fafeb95..f4a5a2b 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -574,14 +574,6 @@ 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 */


2008-02-21 03:31:11

by Ingo Molnar

[permalink] [raw]
Subject: Re: [PATCH] x86_64: remove double-checking empty zero pages debug


* Yinghai Lu <[email protected]> wrote:

> so far, no one complained that.

thanks Yinghai, applied.

Ingo