All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: f.callaghan@ieee.org
Cc: linux-mtd@lists.infradead.org
Subject: Re: Please Help, problem mounting jffs2
Date: Mon, 16 Jun 2003 17:25:08 +0100	[thread overview]
Message-ID: <1055780708.2233.18.camel@passion.cambridge.redhat.com> (raw)
In-Reply-To: <200306161206.06488.f.callaghan@ieee.org>

On Mon, 2003-06-16 at 17:06, Frank R Callaghan wrote:
> Hi All,
> 
> I methodically removed code from my usrland programs until I'm left with
> 
> int main()
> {
>     while(1) {
>     //  sleep(1);
>     }
> }
> 
> With no RTAI modules loaded, the gc thread still stalls.
> With the sleep(1) works fine !
> 
> Does this mean that the gc thread has such a low priority that it never runs ?

No, it looks like your userspace prograem has such a _high_ priority
that the GC thread never runs. A subtle difference :)

> What should I do/try next ?

This is an RTAI-specific issue. I suspect your test program above has
its priority set such that when it's eating 100% CPU time in a tight
loop, nothing else gets to run. Have you asked on the RTAI mailing
lists?

-- 
dwmw2

  reply	other threads:[~2003-06-16 16:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-13 14:51 Please Help, problem mounting jffs2 Frank R Callaghan
2003-06-13 15:47 ` Sid Gluckman
2003-06-13 15:53   ` Frank R Callaghan
2003-06-13 16:31     ` David Woodhouse
2003-06-13 16:58       ` Frank R Callaghan
2003-06-13 17:39         ` David Woodhouse
2003-06-13 18:11           ` Frank R Callaghan
2003-06-13 18:28             ` David Woodhouse
2003-06-13 18:47               ` Frank R Callaghan
2003-06-13 19:18                 ` David Woodhouse
2003-06-13 22:52                   ` Thomas Gleixner
2003-06-13 22:54                     ` Frank R Callaghan
2003-06-16 16:06                       ` Frank R Callaghan
2003-06-16 16:25                         ` David Woodhouse [this message]
2003-06-16 18:21                           ` Frank R Callaghan
2003-06-16 20:21                             ` Thomas Gleixner

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=1055780708.2233.18.camel@passion.cambridge.redhat.com \
    --to=dwmw2@infradead.org \
    --cc=f.callaghan@ieee.org \
    --cc=linux-mtd@lists.infradead.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.