lkml.org 
[lkml]   [2015]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [4.2, Regression] Queued spinlocks cause major XFS performance regression
On 09/04/2015 11:54 AM, Peter Zijlstra wrote:
> On Fri, Sep 04, 2015 at 05:30:35PM +0200, Peter Zijlstra wrote:
>> Should I place the virt_spin_lock() thing under CONFIG_PARAVIRT (maybe
>> even _SPINLOCKS) such that only paravirt enabled kernels when ran on a
>> hypervisor that does not support paravirt patching (HyperV, VMware,
>> etc..) revert to the test-and-set?
> Ah, CONFIG_HYPERVISOR_GUEST seems fitting, that's a prerequisite for all
> the PARAVIRT options too.
>

Yes, I also used that in my queued unfair lock patch.

Cheers,
Longman


\
 
 \ /
  Last update: 2015-09-10 04:41    [W:0.075 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site