From patchwork Thu Apr 30 15:15:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SsO8cmdlbiBHcm/Dnw==?= X-Patchwork-Id: 11520659 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 888A115E6 for ; Thu, 30 Apr 2020 15:17:43 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6FBC420661 for ; Thu, 30 Apr 2020 15:17:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6FBC420661 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jUAv1-0007PY-Bh; Thu, 30 Apr 2020 15:16:07 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jUAuz-0007Os-Vp for xen-devel@lists.xenproject.org; Thu, 30 Apr 2020 15:16:06 +0000 X-Inumbo-ID: 808ec349-8af5-11ea-9a67-12813bfff9fa Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 808ec349-8af5-11ea-9a67-12813bfff9fa; Thu, 30 Apr 2020 15:16:03 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E5A86AE39; Thu, 30 Apr 2020 15:16:00 +0000 (UTC) From: Juergen Gross To: xen-devel@lists.xenproject.org Subject: [PATCH 0/3] xen: Fix some bugs in scheduling Date: Thu, 30 Apr 2020 17:15:56 +0200 Message-Id: <20200430151559.1464-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Stefano Stabellini , Julien Grall , Wei Liu , Andrew Cooper , Ian Jackson , George Dunlap , Dario Faggioli , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Some bugs I found when trying to find a problem with cpu-on/offlining in core scheduling mode. Patches 1 and 3 are fixing observed problems, while patch 2 is more of a theoretical issue. Juergen Gross (3): xen/sched: allow rcu work to happen when syncing cpus in core scheduling xen/sched: fix theoretical races accessing vcpu->dirty_cpu xen/cpupool: fix removing cpu from a cpupool xen/arch/x86/domain.c | 14 ++++++++++---- xen/common/sched/core.c | 10 +++++++--- xen/common/sched/cpupool.c | 3 +++ xen/include/xen/sched.h | 2 +- xen/include/xen/softirq.h | 2 +- 5 files changed, 22 insertions(+), 9 deletions(-)