From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753348Ab2GIWjd (ORCPT ); Mon, 9 Jul 2012 18:39:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29688 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752545Ab2GIWjc (ORCPT ); Mon, 9 Jul 2012 18:39:32 -0400 Message-ID: <4FFB5D8E.70402@redhat.com> Date: Mon, 09 Jul 2012 18:39:10 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Raghavendra K T CC: "H. Peter Anvin" , Thomas Gleixner , Avi Kivity , Ingo Molnar , Marcelo Tosatti , S390 , Carsten Otte , Christian Borntraeger , KVM , chegu vinod , "Andrew M. Theurer" , LKML , X86 , Gleb Natapov , linux390@de.ibm.com, Srivatsa Vaddagiri , Joerg Roedel Subject: Re: [PATCH RFC 1/2] kvm vcpu: Note down pause loop exit References: <20120709062012.24030.37154.sendpatchset@codeblue> <20120709062032.24030.10454.sendpatchset@codeblue> In-Reply-To: <20120709062032.24030.10454.sendpatchset@codeblue> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/09/2012 02:20 AM, Raghavendra K T wrote: > @@ -484,6 +484,13 @@ struct kvm_vcpu_arch { > u64 length; > u64 status; > } osvw; > + > + /* Pause loop exit optimization */ > + struct { > + bool pause_loop_exited; > + bool dy_eligible; > + } plo; I know kvm_vcpu_arch is traditionally not a well documented structure, but it would be really nice if each variable inside this sub-structure could get some documentation. Also, do we really want to introduce another acronym here? Or would we be better off simply calling this struct .ple, since that is a name people are already familiar with. -- All rights reversed