From: Scott Wood <scottwood@freescale.com>
To: Matias Sundman <linux@sundmangroup.com>
Cc: "linuxppc-embedded@ozlabs.org" <linuxppc-embedded@ozlabs.org>
Subject: Re: SCHED_FIFO & System()
Date: Thu, 17 Jan 2008 16:16:23 -0600 [thread overview]
Message-ID: <478FD3B7.2030105@freescale.com> (raw)
In-Reply-To: <478EFD4C.9070706@sundmangroup.com>
Matias Sundman wrote:
> Hello,
> I have some strange behavior in one of my systems.
>
> I have a real-time thread under SCHED_FIFO which is running every 10ms.
> It is blocking on a semaphore and released by a timer interrupt every 10ms.
> Generally this works really well.
>
> However, there is a module in the system that makes a / system() / call
> from c-code ;
>
> system("run_my_script");
>
> By calling and running a bash script. Independent of how the actual
> script looks like the real time thread does not get scheduled under 80ms
> -- the time it takes
> for the system() call to finish.
Are you running a preemptible kernel?
-Scott
next prev parent reply other threads:[~2008-01-17 22:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-17 7:01 SCHED_FIFO & System() Matias Sundman
2008-01-17 22:16 ` Scott Wood [this message]
2008-01-18 6:38 ` Matias Sundman
-- strict thread matches above, loose matches on Subject: below --
2008-01-17 10:19 SCHED_FIFO & system() linux
2008-01-18 6:41 ` Matias Sundman
2008-01-18 13:16 ` Gregory Haskins
2008-01-18 13:31 ` Gregory Haskins
2008-01-18 16:37 ` Steven Rostedt
2008-01-17 22:14 SCHED_FIFO & System() Arnon Kaufman(Work)
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=478FD3B7.2030105@freescale.com \
--to=scottwood@freescale.com \
--cc=linux@sundmangroup.com \
--cc=linuxppc-embedded@ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.