mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Raz Ben-Jehuda(caro)" <raziebe@gmail.com>
To: "Linux Kernel" <linux-kernel@vger.kernel.org>
Subject: A Correct Design of a multi cpu/core rt application
Date: Thu, 4 Jan 2007 22:56:02 +0200	[thread overview]
Message-ID: <5d96567b0701041256n616a4a5bn3948c2d3c3e673d@mail.gmail.com> (raw)

Hello

I am trying to implement a (soft) real time kthread on a dual cpu
machine. Basic design is very simple, the kthread  binds
to cpu 1 sets itself to a high real time priority and never releases this
cpu. Whenever it needs to wait a little I use the assembler pause command.
The operating system should be running on cpu 0.

Yet I have 3 problems:

1. Rcu never unlocks ( dentry starvation ).

2. I cannot ssh to the machine when this kthread is runing. This has to
   do some how with events workqueue.

3. What about all other kthreads,workqueue,tasklets in the system ? aio,md,
   can I simply un-invoke them ?

Is there an easy way to do it ?
Is there a framework to do it ?

thank you
raz


-- 
Raz

                 reply	other threads:[~2007-01-04 20:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5d96567b0701041256n616a4a5bn3948c2d3c3e673d@mail.gmail.com \
    --to=raziebe@gmail.com \
    --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®