Re: How to establish a priority to an interrupt handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Monica Puig-Pey <puigpeym@xxxxxxxxx> writes:

> Hi,
>
> I'm using Ubuntu 10.04 with the 2.6.31-11-rt patch installed. I'm
> developing a PCI device driver using hardware interrupts.
> As I read at the RT wiki
> (https://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch )
> interrupts are moved to kernel threads called Threaded Interrupts in
> the RT patch.
>
> I would like to give a priority chosen by me to my IRQ handler, but I
> don't know how to do it, or if it is possible (it seems it is).

This may not answer your question, but

apt-get install rtirq-init

might be all you need to do in order to get the interrupt priorities set
and sorted out for your purposes (well, for sound
recording/processing/playback it usually works reasonably well).

Even if not, taking a look at what the rtirq service script does might
give you good ideas.

-- 
David Kastrup

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux