lkml.org 
[lkml]   [2002]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: realtime scheduling problems with 2.4 linux kernel >= 2.4.10
Date
Andi Kleen wrote:
> Fixing it would require boosting keventd's priority either globally
> or temporarily. E.g. if the original reporter could put this
> (untested/uncompiled) at the beginning of
kernel/context.c:context_thread():
>
> current->policy = SCHED_RR;
> current->rt_priority = 99;
>
> it could fix his problem.

OK, I've tried the above fix on 2.4.17, and it seems to work. Thanks Andi.
We can now get into the box on a high priority console after provoking a
lockup with a lower priority, CPU hogging realtime process.

Are there any potentially negative consequences of this fix, apart from
those already mentioned?

I certainly vote for this feature being preserved, as it is extremely useful
for debugging realtime priority apps. FYI, we narrowed it down to breaking
in either 2.4.10-pre11 or pre12.

Cheers
Ian


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Imerge Limited Tel :- +44 (0)1954 783600
Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601
Saxon Way Web :- http://www.imerge.co.uk
Bar Hill
Cambridge
CB3 8SL
United Kingdom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-
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-03-22 13:26    [W:0.061 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site