From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [PATCH v3 0/6] xen: sched: fix locking of {insert, remove}_vcpu() Date: Fri, 30 Oct 2015 00:04:04 +0100 Message-ID: <20151029225158.25219.4625.stgit@Solace.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZrwEs-00056O-O5 for xen-devel@lists.xenproject.org; Thu, 29 Oct 2015 23:04:10 +0000 Received: by wmll128 with SMTP id l128so34685551wml.0 for ; Thu, 29 Oct 2015 16:04:08 -0700 (PDT) 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.xenproject.org Cc: George Dunlap , Juergen Gross , Meng Xu , Jan Beulich , Andrew Cooper List-Id: xen-devel@lists.xenproject.org Hi, Take 3 of this series, improving how inserting vCPUs in schedulers runqueues is done, including fixing a couple of bugs, and paving the way for more improvement in Credit2 runqueue handling (will be submitted as a separate series). v2 is here: http://lists.xen.org/archives/html/xen-devel/2015-10/msg01605.html v1 was here: http://lists.xen.org/archives/html/xen-devel/2015-10/msg00974.html In this iteration, wrt v2, only patches 2, 3 and 4 really changed, to cope with review comments and sligthly changing my own mind about where to do things (nothing too big, anyways). Patch 1 and 2 are actual bugfix and, IMO, are candidate of being backported (I kept that in mind when wroting them and when deciding how to structure the series). However, let's see after this get committed (I'll rise the topic myself with stable maintainers). There is a git branch with the series applied here: git://xenbits.xen.org/people/dariof/xen.git rel/sched/fix-vcpu-ins-rem-v2 Thanks and Regards, Dario --- Dario Faggioli (6): xen: sched: fix locking of remove_vcpu() in credit1 xen: sched: fix locking for insert_vcpu() in credit1 and RTDS xen: sched: clarify use cases of schedule_cpu_switch() xen: sched: better handle (not) inserting idle vCPUs in runqueues xen: sched: get rid of the per domain vCPU list in RTDS xen: sched: get rid of the per domain vCPU list in Credit2 xen/common/cpupool.c | 7 ----- xen/common/sched_credit.c | 17 ++++++++++-- xen/common/sched_credit2.c | 55 ++++++++++++++-------------------------- xen/common/sched_rt.c | 61 ++++++++++++++++++++++---------------------- xen/common/schedule.c | 57 +++++++++++++++++++++++++++++++---------- 5 files changed, 106 insertions(+), 91 deletions(-) -- <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)