From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751886AbbCTKMA (ORCPT ); Fri, 20 Mar 2015 06:12:00 -0400 Received: from smtp.citrix.com ([66.165.176.89]:63587 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751722AbbCTKL6 (ORCPT ); Fri, 20 Mar 2015 06:11:58 -0400 X-IronPort-AV: E=Sophos;i="5.11,435,1422921600"; d="scan'208";a="245242322" Date: Fri, 20 Mar 2015 10:11:55 +0000 From: Wei Liu To: Imre Palik CC: , Ian Campbell , Wei Liu , , , "Palik, Imre" , "Anthony Liguori" Subject: Re: [PATCH v2] xen-netback: making the bandwidth limiter runtime settable Message-ID: <20150320101155.GO16267@zion.uk.xensource.com> References: <1426759542-15948-1-git-send-email-imrep.amz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1426759542-15948-1-git-send-email-imrep.amz@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 19, 2015 at 11:05:42AM +0100, Imre Palik wrote: > From: "Palik, Imre" > > With the current netback, the bandwidth limiter's parameters are only > settable during vif setup time. This patch register a watch on them, and > thus makes them runtime changeable. > > When the watch fires, the timer is reset. The timer's mutex is used for > fencing the change. > > Cc: Anthony Liguori > Signed-off-by: Imre Palik Acked-by: Wei Liu