Message-ID: Date: Tue, 7 Feb 2006 21:24:49 +0200 From: Dmitry Adamushko Subject: Re: [Xenomai-core] [Combo-PATCH] Shared interrupts (final) In-Reply-To: <43E86F4D.4050400@domain.hid> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23190_7612946.1139340289638" References: <43E86F4D.4050400@domain.hid> List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wolfgang Grandegger Cc: xenomai@xenomai.org ------=_Part_23190_7612946.1139340289638 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 07/02/06, Wolfgang Grandegger wrote: > > Hello, > > > [skip-skip-skip] > > Happy testing ! :) > > My concern is code size. I see that the patches add substantial amount > of code to the ISR. What about make this feature configurable? Yes, I though about making the new stuff optionally configurable. But another option would be to leave the xnintr_irq_handler() as it was before and to introduce a separate handler for the shared interrupts. edge-triggeres interrupts already have the distinct handler (xnintr_edgeirq_handler()). I guess the additional code in xnintr_attach/detach() and a few (~1 for UP and ~2 for SMP) KBs of data are not that critical taking into account where and how they are used, both latency and cache-wise. Wolfgang. > > > -- > > Best regards, > > Dmitry Adamushko > > > > > > -----------------------------------------------------------------------= - > > > > _______________________________________________ > > Xenomai-core mailing list > > Xenomai-core@domain.hid > > https://mail.gna.org/listinfo/xenomai-core > > -- Best regards, Dmitry Adamushko ------=_Part_23190_7612946.1139340289638 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 07/02/06, Wolfgang Grandegger <w= g@domain.hid> wrote:
Hello,

> [skip-skip-skip]
> Happy testing ! :)

My co= ncern is code size. I see that the patches add substantial amount
of cod= e to the ISR. What about make this feature configurable?

Yes, I though about making the new stuff optionally configurable.

But another option would be to leave the xnintr_irq_handler() as it was before and to introduce a separate handler for the shared interrupts. edge-triggeres interrupts already have the distinct handler (xnintr_edgeirq_handler()).

I guess the additional code in xnintr_attach/detach() and a few (~1 for UP and ~2 for SMP) KBs of data are not that critical taking into account where and how they are used, both latency and cache-wise.


Wolfgang.
=
> --
> Best regards,
> Dmitry Adamushko
>
>
> ------------------------------------------------------------------= ------
>
> _______________________________________________
&= gt; Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core



--
Best regards,
Dmitry Adamushko ------=_Part_23190_7612946.1139340289638--