lkml.org 
[lkml]   [2004]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Scheduler Problem ????


Emmanuel Fleury wrote:

>Hi all,
>
>I am running a 2.6.4 (with preemptible kernel activated).
>What I did is the following:
>
>1) Compile the sched_test.c program (at the end of the mail):
>
>[root@hermes sched]$ gcc -o sched_test sched_test.c
>
>2) Set the priority of the root shell as the highest:
>[root@hermes sched]$ ps
> PID TTY TIME CMD
> 1519 pts/0 00:00:00 bash
> 2020 pts/0 00:00:00 ps
>[root@hermes sched]$ chrt -f -p 99 1519
>
>3) Run sched_test:
>[root@hermes sched]$ chrt -f 10 ./sched_test 100
>bye now.
>
>
>
>Here during the execution of sched_test everything is frozen.
>
>
>Did I do something wrong ????
>
>

Realtime processes aren't preemptible at all by non realtime
processes or realtime processes of a lesser priority.

-
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 14:01    [W:0.073 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site