From: Jonathan Creekmore Subject: [PATCH v2 0/4] Allow schedulers to be selectable through Kconfig Date: Fri, 18 Dec 2015 15:41:26 -0600 Message-ID: <1450474890-15491-1-git-send-email-jonathan.creekmore@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aA2md-00070a-Q2 for xen-devel@lists.xenproject.org; Fri, 18 Dec 2015 21:41:51 +0000 Received: by mail-yk0-f181.google.com with SMTP id x184so73924843yka.3 for ; Fri, 18 Dec 2015 13:41:50 -0800 (PST) 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: Jonathan Creekmore List-Id: xen-devel@lists.xenproject.org Add machinery to allow the schedulers to be individually selectable through the Kconfig interface. The first patch in the series sets up the Kconfig options for the schedulers and places the appropriate CONFIG_ options around the scheduler list. The second, third, and fourth patches rework the scheduler list from being manually curated into a model where just compiling any schedulers into the hypervisor causes the scheduler list to be built up. --- Changed since v1: * Marked credit2 as EXPERIMENTAL * Removed confusing language from the commit message * Alphabetize the schedulers * rename the __start and __end symbols to better match the rest of the file * Simplify the calculation of the number of schedulers * Make the scheduler ops structures static to their files Jonathan Creekmore (4): build: Hook the schedulers into Kconfig build: Alloc space for sched list in the link file sched: Register the schedulers into the list sched: Use the auto-generated list of schedulers xen/arch/arm/xen.lds.S | 4 +++ xen/arch/x86/xen.lds.S | 4 +++ xen/common/Kconfig | 64 +++++++++++++++++++++++++++++++++++++++++++++ xen/common/Makefile | 8 +++--- xen/common/sched_arinc653.c | 4 ++- xen/common/sched_credit.c | 4 ++- xen/common/sched_credit2.c | 4 ++- xen/common/sched_rt.c | 4 ++- xen/common/schedule.c | 20 +++++++------- xen/include/xen/sched-if.h | 7 ++--- 10 files changed, 99 insertions(+), 24 deletions(-) -- 2.6.4