Re: Is: x86: mm: Fix vmalloc_fault oops during lazy MMU updates Was:Re: [PATCH] mm/x86: Flush lazy MMU when DEBUG_PAGEALLOC is set

From: Boris Ostrovsky
Date: Thu Feb 28 2013 - 11:20:55 EST


On 02/28/2013 11:10 AM, Borislav Petkov wrote:
On Thu, Feb 28, 2013 at 07:53:44AM -0800, H. Peter Anvin wrote:
At the very least we should have an early filter for the **COMMON!**
case that we are not on a PV platform.
... or, patch it out with the alternatives on baremetal, as Steven
suggested.


I think making a check for paravirt_enabled() is safe enough. I'll send a patch shortly.

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