From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v2] KVM: halt_polling: improve grow/shrink settings Date: Tue, 9 Feb 2016 16:16:48 +0100 Message-ID: <56BA02E0.10009@redhat.com> References: <1455022075-121959-1-git-send-email-borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: KVM To: Christian Borntraeger Return-path: Received: from mail-wm0-f67.google.com ([74.125.82.67]:34695 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753532AbcBIPQw (ORCPT ); Tue, 9 Feb 2016 10:16:52 -0500 Received: by mail-wm0-f67.google.com with SMTP id p63so4002148wmp.1 for ; Tue, 09 Feb 2016 07:16:52 -0800 (PST) In-Reply-To: <1455022075-121959-1-git-send-email-borntraeger@de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On 09/02/2016 13:47, Christian Borntraeger wrote: > Right now halt_poll_ns can be change during runtime. The > grow and shrink factors can only be set during module load. > Lets fix several aspects of grow shrink: > - make grow/shrink changeable by root > - make all variables unsigned int > - read the variables once to prevent races > > Signed-off-by: Christian Borntraeger Applying to kvm/queue, thanks. Paolo