Re: [PATCH resend v3] x86: memtest: WARN if bad RAM found

From: Yinghai Lu
Date: Mon Apr 23 2012 - 16:26:17 EST


On Mon, Apr 23, 2012 at 11:26 AM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
>
>  arch/x86/mm/memtest.c |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/x86/mm/memtest.c b/arch/x86/mm/memtest.c
> index c80b9fb95734..38caeb44a218 100644
> --- a/arch/x86/mm/memtest.c
> +++ b/arch/x86/mm/memtest.c
> @@ -30,6 +30,8 @@ static u64 patterns[] __initdata = {
>
>  static void __init reserve_bad_mem(u64 pattern, u64 start_bad, u64 end_bad)
>  {
> +       WARN_ONCE(1, "Bad RAM detected. Use memtest86+ to perform a thorough test\n"
> +                 "and the memmap= parameter to reserve the bad areas.");

You must be kidding : calling memtest86+ "thorough test".

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/