lkml.org 
[lkml]   [2005]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] Make MAX_RT_PRIO and MAX_USER_RT_PRIO configurable

* Steven Rostedt <rostedt@goodmis.org> wrote:

> On Wed, 2005-07-27 at 16:17 +0200, Ingo Molnar wrote:
> > i'd not do this patch, mainly because the '100 priority levels' thing is
> > pretty much an assumption in lots of userspace code.
>
> I must argue though, any user app that assumes 100 is the max prio is
> already broken. That's why there are system calls to get the actual
> range. Maybe it would be good to change the range to find the apps
> that break. And then fix them.

a fair number of apps assume that there's _at least_ 100 levels of
priorities. The moment you have a custom kernel that offers more than
100 priorities, there will be apps that assume that there are more than
100 priority levels, and will break if there are less.

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

\
 
 \ /
  Last update: 2005-07-27 16:45    [W:0.298 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site