[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] Is: x86: mm: Fix vmalloc_fault oops during lazy MMU updates Was: Re: [PATCH] mm/x86: Flush lazy MMU when DEBUG_PAGEALLOC is set
 
- To: Borislav Petkov <bp@xxxxxxxxx>,	Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>,	Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>,	Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>, mingo@xxxxxxxxxx,	tglx@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxx,	linux-kernel@xxxxxxxxxxxxxxx, samu.kallio@xxxxxxxxxxxxxxxxx,	kraman@xxxxxxxxxx, jwboyer@xxxxxxxxxx
 
- From: "H. Peter Anvin" <hpa@xxxxxxxxx>
 
- Date: Thu, 28 Feb 2013 08:24:12 -0800
 
- Delivery-date: Thu, 28 Feb 2013 16:25:53 +0000
 
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
 
 
 
On 02/28/2013 08:22 AM, Borislav Petkov wrote:
> On Thu, Feb 28, 2013 at 11:20:20AM -0500, Boris Ostrovsky wrote:
>> 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.
> 
> Why not make it absolutely for free?
That makes more sense, I think... although of course, there is a cost in
complexity.
        -hpa
-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
 
    
     |