All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] xnsched_resched_p test in hisyscall
Date: Fri, 19 Oct 2007 05:27:03 +0200	[thread overview]
Message-ID: <1192764423.6252.4.camel@domain.hid> (raw)
In-Reply-To: <4717C642.6030002@domain.hid>

On Thu, 2007-10-18 at 22:46 +0200, Jan Kiszka wrote:
> Hi Philippe,
> 
> what's the point about
> 
> 	if (xnsched_resched_p())
> 		xnpod_schedule();
> 
> at the beginning of do_hisyscall_event() [1]? Could you provide a
> comment for the background of this hunk? Or can we even remove it?

No, we can't. It's a Blackfin-specific thing in disguise actually, so we
may make this code conditional through some arch-dependent wrapper
though.
http://www.rts.uni-hannover.de/xenomai/lxr/source/include/asm-blackfin/bits/pod.h#141

> 
> Jan
> 
> [1]http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/nucleus/shadow.c?v=SVN-trunk#1870
> 
-- 
Philippe.




  reply	other threads:[~2007-10-19  3:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-18 20:46 [Xenomai-core] xnsched_resched_p test in hisyscall Jan Kiszka
2007-10-19  3:27 ` Philippe Gerum [this message]
2007-10-19  8:04   ` [Xenomai-core] [PATCH] avoid resched test on syscall entry (was: xnsched_resched_p test in hisyscall) Jan Kiszka
2007-11-05  7:53     ` [Xenomai-core] [PATCH] avoid resched test on syscall entry Jan Kiszka

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=1192764423.6252.4.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=jan.kiszka@domain.hid \
    --cc=xenomai@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.