From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: [PATCH v2 0/2] xen: correct changing credit scheduler's timeslice Date: Tue, 2 Feb 2016 12:29:40 +0100 Message-ID: <1454412582-3263-1-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org, jbeulich@suse.com, alan.robinson@ts.fujitsu.com, george.dunlap@eu.citrix.com, dario.faggioli@citrix.com Cc: Juergen Gross List-Id: xen-devel@lists.xenproject.org When the timeslice of Xen's credit scheduler is changed via tools the domain weights are no longer honored correctly. Changes in V2: - moved locking to csched_sys_cntl() as suggested by Jan - split up into two patches as requested by Dario Juergen Gross (2): xen: update timeslice under lock xen: recalculate per-cpupool credits when updating timeslice xen/common/sched_credit.c | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.6.2