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

Re: [rtl] fifo question



Denis Karpov wrote:
> 
> so is it ok if i call RT kernel module's function from withing usual kernel module ?
>  what about the rt scheduling in that case ?
>

In a generic sense that is true. Take into account that when you call
from a module you are just calling from Linux, and Linux is just the
lowest priority real time task. So if you call a non "task_switching"
function it will be just a normal call while if it is a switching one it
will switch. Clearly you must have a real time scheduler installed.

There can be however glitches has there is often an implicit assumption
that many functions will/should be never used from Linux, so they have
not been tested for such a use.

Ciao, Paolo.