x86/memtest: Shorten time for tests
authorAlexander Holler <holler@ahsoftware.de>
Sat, 16 Feb 2013 15:38:17 +0000 (16:38 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 18 Feb 2013 08:28:42 +0000 (09:28 +0100)
commit20bf062c6575e162ede00308ca3a5714ca112009
tree73d5a41bd4026e3b8159b0a6f41fd63c2e395465
parent9611dc7a8de8a5c6244886dad020995b1a896236
x86/memtest: Shorten time for tests

By just reversing the order memtest is using the test patterns,
an additional round to zero the memory is not necessary.

This might save up to a second or even more for setups which are
doing tests on every boot.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1361029097-8308-1-git-send-email-holler@ahsoftware.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/memtest.c