lkml.org 
[lkml]   [2012]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] sched: Support compiling out real-time scheduling with REALTIME_SCHED.
From
Date
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)



\
 
 \ /
  Last update: 2012-08-15 09:43    [W:0.726 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site