From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68713C10F0E for ; Thu, 18 Apr 2019 14:44:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D843217FA for ; Thu, 18 Apr 2019 14:44:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388685AbfDROoZ (ORCPT ); Thu, 18 Apr 2019 10:44:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8296 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388097AbfDROoZ (ORCPT ); Thu, 18 Apr 2019 10:44:25 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A7C0B3078DB7; Thu, 18 Apr 2019 14:44:25 +0000 (UTC) Received: from gondolin (dhcp-192-187.str.redhat.com [10.33.192.187]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5FB585D9CC; Thu, 18 Apr 2019 14:44:22 +0000 (UTC) Date: Thu, 18 Apr 2019 16:44:20 +0200 From: Cornelia Huck To: Christian Borntraeger Cc: Janosch Frank , KVM , David Hildenbrand , Paolo Bonzini , Radim =?UTF-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH v2 1/2] KVM: polling: add architecture backend to disable polling Message-ID: <20190418164420.299c8c73.cohuck@redhat.com> In-Reply-To: <20190416180158.112309-2-borntraeger@de.ibm.com> References: <20190416180158.112309-1-borntraeger@de.ibm.com> <20190416180158.112309-2-borntraeger@de.ibm.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Thu, 18 Apr 2019 14:44:25 +0000 (UTC) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Tue, 16 Apr 2019 20:01:57 +0200 Christian Borntraeger wrote: > There are cases where halt polling is unwanted. For example when running > KVM on an over committed LPAR we rather want to give back the CPU to > neighbour LPARs instead of polling. Let us provide a callback that > allows architectures to disable polling. > > Signed-off-by: Christian Borntraeger > Acked-by: Paolo Bonzini > --- > include/linux/kvm_host.h | 10 ++++++++++ > virt/kvm/Kconfig | 3 +++ > virt/kvm/kvm_main.c | 2 +- > 3 files changed, 14 insertions(+), 1 deletion(-) Reviewed-by: Cornelia Huck