Re: [PATCH] X86: remove WARN_ON if MTRRs are all blank

From: Ingo Molnar
Date: Thu Feb 21 2008 - 06:55:28 EST



* Joerg Roedel <joerg.roedel@xxxxxxx> wrote:

> if (!highest_pfn) {
> printk(KERN_WARNING "WARNING: strange, CPU MTRRs all blank?\n");
> - WARN_ON(1);
> return 0;
> }

instead of obscuring a possibly useful warning, please instead detect
that it's a KVM guest and skip both the warning and the backtrace in
that case.

Ingo
--
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/