Re: [RFC][PATCH] Make MAX_RT_PRIO and MAX_USER_RT_PRIO configurable

From: Matt Mackall
Date: Wed Jul 27 2005 - 20:43:56 EST


On Wed, Jul 27, 2005 at 04:17:54PM +0200, Ingo Molnar wrote:
>
> * Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > The following patch makes the MAX_RT_PRIO and MAX_USER_RT_PRIO
> > configurable from the make *config. This is more of a proposal since
> > I'm not really sure where in Kconfig this would best fit. I don't see
> > why these options shouldn't be user configurable without going into
> > the kernel headers to change them.
>
> i'd not do this patch, mainly because the '100 priority levels' thing is
> pretty much an assumption in lots of userspace code. The patch to make
> it easier to redefine it is of course fine and was accepted, but i dont
> think we want to make it explicit via .config.
>
> It's a bit like with the 3:1 split: you can redefine it easily via
> include files, but it's not configurable via .config, because many
> people would just play with it and would see things break.
>
> so unless there's really a desire from distributions to actually change
> the 100 RT-prio levels (and i dont sense such a desire), we shouldnt do
> this.

The queues take a fairly substantial amount of memory. I've had an
option for configuring this under CONFIG_EMBEDDED in the -tiny tree
for quite some time.

--
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/