All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Bosko Radivojevic <bosko.radivojevic@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Interrupt priorities and handling problems
Date: Fri, 23 May 2008 21:42:48 +0200	[thread overview]
Message-ID: <18487.7736.634161.816552@domain.hid> (raw)
In-Reply-To: <d6c8ef150805231234m7c65aec5l5fa15c028ce96249@domain.hid>

Bosko Radivojevic wrote:
 > > Interrupt priority only matters when two interrupts are pending at the
 > > same time. If ethernet interrupt is treated at Linux level, then it is
 > > fully preemptible by Xenomai,
 > 
 > Ethernet is handled by Linux (dm9000 driver).

Then what I have said is irrelevant, your interrupt handler is fully
preemptible by Xenomai.

 > 
 > > - re-enable interrupts in the ethernet interrupt handler
 > 
 > What will happen with interrupted ethernet interrupt handler? :)
 > 
 > > But as far as I understood, your problem is not the interrupt latency,
 > > but rather the ISR duration, and changing the interrupt priority will
 > > not change this at all.
 > 
 > Both latency and duration are my problems. But, I had some explanation
 > for latency problem (irqs disabled during Eth handler).

How are they disabled ? If they are disabled using Linux functions, then
they are really enabled for Adeos, that is one of the intended effects
of the Adeos patch.

-- 


					    Gilles.


  reply	other threads:[~2008-05-23 19:42 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-23 17:56 [Xenomai-help] Interrupt priorities and handling problems Bosko Radivojevic
2008-05-23 19:08 ` Gilles Chanteperdrix
2008-05-23 19:34   ` Bosko Radivojevic
2008-05-23 19:42     ` Gilles Chanteperdrix [this message]
2008-05-23 19:48       ` Bosko Radivojevic
2008-05-23 19:49         ` Gilles Chanteperdrix
2008-05-23 19:51           ` Bosko Radivojevic
2008-05-25 14:31 ` Gilles Chanteperdrix
2008-05-26 13:26   ` Bosko Radivojevic
2008-05-26 16:29     ` Bosko Radivojevic
2008-05-26 16:47       ` Gilles Chanteperdrix
2008-05-26 16:59         ` Gilles Chanteperdrix
2008-05-26 17:04           ` Bosko Radivojevic
2008-05-26 17:14             ` Gilles Chanteperdrix
2008-05-26 17:16               ` Bosko Radivojevic
2008-05-26 17:21                 ` Gilles Chanteperdrix
2008-05-26 17:47                   ` Bosko Radivojevic
2008-05-27 11:31                     ` Bosko Radivojevic
2008-05-27 12:11                       ` Gilles Chanteperdrix
2008-05-27 13:08                         ` Bosko Radivojevic
2008-05-28  9:16                           ` Bosko Radivojevic
2008-05-28 10:14                             ` Bosko Radivojevic
2008-05-28 12:27                               ` Gilles Chanteperdrix
2008-05-26 16:59         ` Bosko Radivojevic

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=18487.7736.634161.816552@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=bosko.radivojevic@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.