From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH RFC] kvm: x86: add halt_poll module parameter Date: Fri, 06 Feb 2015 08:50:01 +0100 Message-ID: <54D47229.9020501@redhat.com> References: <1423152325-5094-1-git-send-email-pbonzini@redhat.com> <20150205233406.GE5051@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, riel@redhat.com, rkrcmar@redhat.com To: Marcelo Tosatti Return-path: In-Reply-To: <20150205233406.GE5051@amt.cnet> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 06/02/2015 00:34, Marcelo Tosatti wrote: > You want at least a basic procedure to estimate a value > (its a function of the device after all). I will add a tracepoint. > Rather than halt_successful_poll's, i suppose the optimum > can be estimated from a dataset containing entries > in the form: > > interrupt time - hlt time > > Then choose a given value from that table. Yes. Paolo