Skip to content

Commit

Permalink
x86: remove double-checking empty zero pages debug
Browse files Browse the repository at this point in the history
so far no one complained about that.

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Feb 26, 2008
1 parent 7265b6f commit 3b57bc4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions arch/x86/mm/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,14 +515,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 */
Expand Down

0 comments on commit 3b57bc4

Please sign in to comment.