Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753744AbbBFHuK (ORCPT ); Fri, 6 Feb 2015 02:50:10 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:54501 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751225AbbBFHuI (ORCPT ); Fri, 6 Feb 2015 02:50:08 -0500 Message-ID: <54D47229.9020501@redhat.com> Date: Fri, 06 Feb 2015 08:50:01 +0100 From: Paolo Bonzini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Marcelo Tosatti CC: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, riel@redhat.com, rkrcmar@redhat.com Subject: Re: [PATCH RFC] kvm: x86: add halt_poll module parameter References: <1423152325-5094-1-git-send-email-pbonzini@redhat.com> <20150205233406.GE5051@amt.cnet> In-Reply-To: <20150205233406.GE5051@amt.cnet> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 641 Lines: 24 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/