Skip to contentSkip to conversation

x86_64: remove double-checking empty zero pages debug

PATCH In review Yinghai Lu 2 participants 2 messages Feb 21, 2008

Subsystems (2)
lore
Share & tools
lore

Yinghai Lu

author
#0 lore raw

PATCH 1/1 x86_64: remove double-checking empty zero pages debug

so far, no one complained that.

arch/x86/mm/init_64.c +0 -8
index fafeb95..f4a5a2b 100644
@@ -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 */
#1 lore raw
Quoted 1 line · Yinghai Lu

so far, no one complained that.

thanks Yinghai, applied.

Ingo