kernel module and priority or affinity

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

 



Hello,

after a lot of reading, I believe I'm still missing something concerning "priority" level (or is it my understanding of the kernel ?).

I would like to set up the reading of an encoder (via GPIO) and the triggering of an output with RT to be able to define the max speed. Every thing else can be non-RT

If it write a kernel module (I used the site of embetronix for that) to manage the GPIO interrupts and output, what is the "priority" of this module (since interrupts are priority 50 I assume ? I believe we can't change this value)

If I use cpu isolation / interruts cpu affinity, is that equivalent to dedicate a cpu to this module ? Or will it still sometimes be "busy" with other cpus ?

If I am not mistaken, it is not possible to manage affinity between kernel module and cpu, it is only for the treads or interrupt by masking ?

Thanks for your help.

Mathieu

--




[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