lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 9 Nov 2017 11:37:07 -0500 (EST) From: Pankaj Gupta <pagupta@...hat.com> To: Peter Zijlstra <peterz@...radead.org> Cc: Radim Krcmar <rkrcmar@...hat.com>, Wanpeng Li <kernellwp@...il.com>, Eduardo Valentin <eduval@...zon.com>, Paolo Bonzini <pbonzini@...hat.com>, Matt Wilson <msw@...zon.com>, Jonathan Corbet <corbet@....net>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, "H. Peter Anvin" <hpa@...or.com>, the arch/x86 maintainers <x86@...nel.org>, Waiman Long <longman@...hat.com>, kvm <kvm@...r.kernel.org>, linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org, "Jan H . Schoenherr" <jschoenh@...zon.de>, Anthony Liguori <aliguori@...zon.com> Subject: Re: [PATCHv3 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set > Subject: Re: [PATCHv3 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set > > On Thu, Nov 09, 2017 at 05:05:36PM +0100, Radim Krcmar wrote: > > 2017-11-09 10:53-0500, Pankaj Gupta: > > > 2] PV TLB should also behave as per option PV_DEDICATED for better > > > performance. > > > > Right, > > Shouldn't KVM do flush_tlb_other() in any case? Not sure how > PV_DEDICATED can help with that. Yes. If I understand it correctly, It will just avoid traversing all the cpus another time just to check/set 'KVM_VCPU_PREEMPTED'/FLUSH value and clear the cpu mask. Thanks, Pankaj
Powered by blists - more mailing lists