From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [PATCH v2 0/2] xen: sched/cpupool: more fixing of (corner?) cases Date: Fri, 17 Jul 2015 15:35:46 +0200 Message-ID: <20150717133013.29612.53960.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 1ZG5nt-0005rX-Fu for xen-devel@lists.xenproject.org; Fri, 17 Jul 2015 13:35:53 +0000 Received: by widjy10 with SMTP id jy10so41583964wid.1 for ; Fri, 17 Jul 2015 06:35:50 -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 List-Id: xen-devel@lists.xenproject.org Hi all, Here's v2 of this series. v1 is here: http://lists.xen.org/archives/html/xen-devel/2015-07/msg00647.html As a quick recap, this is aimed at avoiding an host crash during shutdown or suspension, it in the following cases: - when the boot cpu (i.e., most of the times, cpu 0) is not assigned to any cpupool, - when a (non default) cpupool only has one cpu (and that is not the boot cpu). v1 was bigger, because of some preparatory/mechanical chages, which have been applied already, so here's what remains. Patch 2 is fully acked. Patch 1 won Juergen's ack, during v1, but I'm avoiding sticking it there, as it changed a little bit, while addressing George's comments. Best Regards, Dario --- Dario Faggioli (2): xen: sched: reorganize cpu_disable_scheduler() xen: sched/cpupool: properly update affinity when removing a cpu from a cpupool xen/common/cpupool.c | 18 ++++++++ xen/common/schedule.c | 109 +++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 110 insertions(+), 17 deletions(-) -- <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)