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

Re: [rtl] printk safe in fifo handler?



yodaiken@fsmlabs.com wrote:
> 
> On Sat, Apr 08, 2000 at 11:15:27AM -0400, Joe Smith wrote:
> >
> > I know enough not to use printk from a rt process.  What about a fifo
> > i/o handler which is only triggered when the fifo is used from
> > userland?  It's somewhat academic, since I've already written the code
> > and it seems to work, but I got to worrying about it.
> 
> Don't worry. If you use Linux functions in Linux mode, you are ok.
> 

This has actually been a question for me for some time.  What is "legal"
to do from a fifo handler?  When the fifo handler is called, is it
actually running in "Linux" mode or "RTLinux" mode?

If it is safe to call 'printk' is it safe to call 'vmalloc' as well?

-Mike