Re: Kernel threads and printf locking question

From: Daan Vreeken [PA4DAN] <Danovitsch_at_Vitsch.net>
Date: Mon, 12 Jan 2004 19:53:44 +0100
On Monday 12 January 2004 17:08, you wrote:
> On Sunday 11 January 2004 03:42 pm, Daan Vreeken [PA4DAN] wrote:
> > Hi,
> >
> > I am writing a kernel module in which I have created a kernel thread with
> > kthread_create. For debugging I have added a couple of printf's in the
> > thread routine. Running the module on a single-proc system works fine,
> > but when running it on one of my SMP machines the console freezes after a
> > couple of seconds.
> > [...snip...]
> printf really probably does require Giant right now, it just happens to be
> used very often after bootup when SMP is running.
Ok, thanks for clarifying.

grtz,
Daan
Received on Mon Jan 12 2004 - 09:53:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:37 UTC