From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751697AbdIUNti (ORCPT ); Thu, 21 Sep 2017 09:49:38 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:50144 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790AbdIUNth (ORCPT ); Thu, 21 Sep 2017 09:49:37 -0400 X-Google-Smtp-Source: AOwi7QBGtTQOoozw1ySNHA4APs9/jEOBgF/4V/o7g5B+g2w5BiqtXC/aS5yjEPgAExWMr0DX7BtgMQ== Subject: Re: [patch 2/3] KVM: x86: KVM_HC_RT_PRIO hypercall (host-side) To: Konrad Rzeszutek Wilk , Marcelo Tosatti Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20170921113835.031375194@redhat.com> <20170921114039.364395490@redhat.com> <20170921133212.GN26248@char.us.oracle.com> From: Paolo Bonzini Message-ID: Date: Thu, 21 Sep 2017 15:49:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170921133212.GN26248@char.us.oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/09/2017 15:32, Konrad Rzeszutek Wilk wrote: > So the guest can change the scheduling decisions at the host level? > And the host HAS to follow it? There is no policy override for the > host to say - nah, not going to do it? > > Also wouldn't the guest want to always be at SCHED_FIFO? [I am thinking > of a guest admin who wants all the CPU resources he can get] Yeah, I do not understand why there should be a housekeeping VCPU that is running at SCHED_NORMAL. If it hurts, don't do it... Paolo