From: Roman Kagan Subject: [PATCH 0/5] kvm: avoid delaying async_pf ready delivery Date: Fri, 2 Dec 2016 11:47:49 +0300 Message-ID: <20161202084754.22860-1-rkagan@virtuozzo.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Denis Lunev , Roman Kagan To: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Paolo Bonzini , Return-path: Received: from mail-db5eur01on0119.outbound.protection.outlook.com ([104.47.2.119]:32352 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758316AbcLBIsN (ORCPT ); Fri, 2 Dec 2016 03:48:13 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Make the guest immediately aware of async_pf's being resolved, to prevent it from holding off higher priority tasks in favor of lower priority ones, including nested guests. Roman Kagan (5): kvm/x86: fix inversed check for async_pf MSR kvm: add helper for testing ready async_pf's kvm: kick vcpu when async_pf is resolved kvm/vmx: kick L2 guest to L1 by ready async_pf kvm/svm: kick L2 guest to L1 by ready async_pf Signed-off-by: Roman Kagan include/linux/kvm_host.h | 7 +++++++ arch/x86/kvm/svm.c | 10 ++++++++++ arch/x86/kvm/vmx.c | 9 +++++---- arch/x86/kvm/x86.c | 4 ++-- virt/kvm/async_pf.c | 11 +++++++---- 5 files changed, 31 insertions(+), 10 deletions(-) -- 2.9.3