mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nick Piggin <piggin@cyberone.com.au>
To: Emmanuel Fleury <fleury@cs.auc.dk>
Cc: Linux Kernel Mailing-list <linux-kernel@vger.kernel.org>
Subject: Re: Scheduler Problem ????
Date: Thu, 18 Mar 2004 10:00:48 +1100	[thread overview]
Message-ID: <4058D8A0.7020507@cyberone.com.au> (raw)
In-Reply-To: <1079533212.25474.370.camel@rade7.s.cs.auc.dk>



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.


      reply	other threads:[~2004-03-17 23:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-17 14:20 Emmanuel Fleury
2004-03-17 23:00 ` Nick Piggin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4058D8A0.7020507@cyberone.com.au \
    --to=piggin@cyberone.com.au \
    --cc=fleury@cs.auc.dk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®