From patchwork Wed Dec 18 07:48:50 2019 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: 11299675 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 54E8E6C1 for ; Wed, 18 Dec 2019 07:50:30 +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 30D2C2176D for ; Wed, 18 Dec 2019 07:50:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 30D2C2176D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=none 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.89) (envelope-from ) id 1ihU55-0003fO-PR; Wed, 18 Dec 2019 07:49:15 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ihU54-0003eu-8o for xen-devel@lists.xenproject.org; Wed, 18 Dec 2019 07:49:14 +0000 X-Inumbo-ID: dc75a39c-216a-11ea-b6f1-bc764e2007e4 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id dc75a39c-216a-11ea-b6f1-bc764e2007e4; Wed, 18 Dec 2019 07:49:04 +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 134FCAB9D; Wed, 18 Dec 2019 07:49:03 +0000 (UTC) From: Juergen Gross To: xen-devel@lists.xenproject.org Date: Wed, 18 Dec 2019 08:48:50 +0100 Message-Id: <20191218074859.21665-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 Subject: [Xen-devel] [PATCH 0/9] xen: scheduler cleanups X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Dario Faggioli , Josh Whitehead , Meng Xu , Jan Beulich , Stewart Hildebrand , Volodymyr Babchuk , =?utf-8?q?Roger_Pau_Monn?= =?utf-8?q?=C3=A9?= MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Move all scheduler related hypervisor code to xen/common/sched/ and do a lot of cleanups. Juergen Gross (9): xen/sched: move schedulers and cpupool coding to dedicated directory xen/sched: make sched-if.h really scheduler private xen/sched: cleanup sched.h xen/sched: remove special cases for free cpus in schedulers xen/sched: use scratch cpumask instead of allocating it on the stack xen/sched: replace null scheduler percpu-variable with pdata hook xen/sched: switch scheduling to bool where appropriate xen/sched: eliminate sched_tick_suspend() and sched_tick_resume() xen/sched: add const qualifier where appropriate MAINTAINERS | 8 +- xen/arch/arm/domain.c | 6 +- xen/arch/x86/acpi/cpu_idle.c | 15 +- xen/arch/x86/cpu/mwait-idle.c | 8 +- xen/arch/x86/dom0_build.c | 5 +- xen/common/Kconfig | 66 +----- xen/common/Makefile | 8 +- xen/common/domain.c | 70 ------ xen/common/domctl.c | 135 +---------- xen/common/rcupdate.c | 7 +- xen/common/sched/Kconfig | 65 ++++++ xen/common/sched/Makefile | 7 + .../{compat/schedule.c => sched/compat_schedule.c} | 2 +- xen/common/{ => sched}/cpupool.c | 23 +- xen/{include/xen => common/sched}/sched-if.h | 18 +- xen/common/{ => sched}/sched_arinc653.c | 15 +- xen/common/{ => sched}/sched_credit.c | 65 +++--- xen/common/{ => sched}/sched_credit2.c | 85 +++---- xen/common/{ => sched}/sched_null.c | 105 ++++++--- xen/common/{ => sched}/sched_rt.c | 105 +++++---- xen/common/{ => sched}/schedule.c | 246 ++++++++++++++++++--- xen/include/xen/domain.h | 3 + xen/include/xen/rcupdate.h | 3 - xen/include/xen/sched.h | 39 ++-- 24 files changed, 566 insertions(+), 543 deletions(-) create mode 100644 xen/common/sched/Kconfig create mode 100644 xen/common/sched/Makefile rename xen/common/{compat/schedule.c => sched/compat_schedule.c} (97%) rename xen/common/{ => sched}/cpupool.c (97%) rename xen/{include/xen => common/sched}/sched-if.h (96%) rename xen/common/{ => sched}/sched_arinc653.c (99%) rename xen/common/{ => sched}/sched_credit.c (97%) rename xen/common/{ => sched}/sched_credit2.c (98%) rename xen/common/{ => sched}/sched_null.c (92%) rename xen/common/{ => sched}/sched_rt.c (94%) rename xen/common/{ => sched}/schedule.c (92%)