From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752741Ab2HOHMb (ORCPT ); Wed, 15 Aug 2012 03:12:31 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:56862 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751288Ab2HOHMa (ORCPT ); Wed, 15 Aug 2012 03:12:30 -0400 X-Authenticated: #14349625 X-Provags-ID: V01U2FsdGVkX19EV+8etp1Eq+RTDoQs0y67jG+1rbMkGfiOGlj07g E/VIp7vLTLnAOt Message-ID: <1345014740.4515.104.camel@marge.simpson.net> Subject: Re: [PATCH] sched: Support compiling out real-time scheduling with REALTIME_SCHED. From: Mike Galbraith To: Trevor Brandt Cc: Andrew Morton , "Paul E. McKenney" , Josh Triplett , Eric Paris , Fabio Estevam , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Suresh Siddha , Glauber Costa , Steven Rostedt , Kamalesh Babulal , linux-kernel@vger.kernel.org, team-fjord@googlegroups.com Date: Wed, 15 Aug 2012 09:12:20 +0200 In-Reply-To: <1344977423-28900-1-git-send-email-tjbrandt@gmail.com> References: <1344977423-28900-1-git-send-email-tjbrandt@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2012-08-14 at 13:50 -0700, Trevor Brandt wrote: > diff --git a/init/Kconfig b/init/Kconfig > index 3f42cd6..768dc76 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -27,6 +27,13 @@ config IRQ_WORK > bool > depends on HAVE_IRQ_WORK > > +config REALTIME_SCHED > + bool "Realtime Scheduler" if EXPERT > + default y > + help > + This option enables support for the realtime scheduler and the > + corresponding scheduling classes SCHED_FIFO and SCHED_RR. > + > menu "General setup" > > config EXPERIMENTAL If you inverted that, it could be a proper default n new feature [1]. However, if weight loss is the goal, why not go whole hog, and create sched/thin.c containing no lard... or just integrate an existing thin scheduler as a config option? Whole body replacement is a very radical diet, but somehow seems less so than chopping off fingers and toes. -Mike (that SMP could select to greatly simplify RT)