All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: Xenomai core <Xenomai-core@domain.hid>
Subject: Re: [Xenomai-core] Overcoming the "foreign" stack
Date: Tue, 05 Oct 2010 12:38:05 +0200	[thread overview]
Message-ID: <4CAB000D.40809@domain.hid> (raw)
In-Reply-To: <4CAAFEC6.5010607@domain.hid>

Am 05.10.2010 12:32, Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>>  - consistent view on the system (if current is always valid, there are
>>    no more confusions between current Linux vs. Xenomai task)
> 
> That is inherently incompatible with the co-kernel approach. Xenomai
> will always be able to preempt Linux at a place where the state is not
> consistent.

Depends on what state the trace examines and what it derives from it.
The current task or the current preemption counter are definitely not
critical and can easily be provided in a way that make tracer output
consistent. In the end, shadow tasks are Linux tasks in a special mode.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


  reply	other threads:[~2010-10-05 10:38 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05  9:32 [Xenomai-core] Overcoming the "foreign" stack Jan Kiszka
2010-10-05  9:56 ` Gilles Chanteperdrix
2010-10-05 10:25   ` Jan Kiszka
2010-10-05 10:32     ` Gilles Chanteperdrix
2010-10-05 10:38       ` Jan Kiszka [this message]
2010-10-05 10:51         ` Gilles Chanteperdrix
2010-10-05 10:59 ` Gilles Chanteperdrix
2010-10-05 11:06   ` Jan Kiszka
2010-10-05 11:27     ` Jan Kiszka
2010-10-05 13:15 ` Gilles Chanteperdrix
2010-10-05 13:35   ` Jan Kiszka
2010-10-05 13:42     ` Gilles Chanteperdrix
2010-10-05 13:46       ` Jan Kiszka
2010-10-05 13:50         ` Gilles Chanteperdrix
2010-10-05 14:04           ` Jan Kiszka
2010-10-05 14:21             ` Gilles Chanteperdrix
2010-10-06  9:20               ` Jan Kiszka
2010-10-07 17:08                 ` Philippe Gerum
2010-10-07 17:34                   ` Jan Kiszka
2010-10-07 18:12                     ` Gilles Chanteperdrix
2010-10-07 18:56                       ` Jan Kiszka
2010-10-07 20:48                     ` Philippe Gerum

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=4CAB000D.40809@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=Xenomai-core@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.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.