Re: [Jackit-devel] Re: Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-19

Jack O'Quin
2004-12-02T20:48:17Z

Lee Revell <rlrevell@joe-job.com> writes:

> On Thu, 2004-12-02 at 11:07 -0600, Jack O'Quin wrote:
> > Is printk() guaranteed not to wait inside the kernel? I am not
> > familiar with its internal implementation.
>
> Yes. It just writes to a ring buffer and klogd dumps this to syslog.
> So if you really start to spew printk's they don't all make it to the
> log but you never get blocked.
>
> The implementation probably looks a lot like a correct solution to fix
> the printf-from-RT-context issue in JACK would.

Right. That's exactly what I have in mind, whenever I find time to
work on it. :-)

There's some similar code I wrote for JAMin, which we could adapt.
--
joq