> Chris Lattner wrote:
> >
> > Okay, here's an official patch against 2.4.0test2... that moves the lock
> > of the console lock to after the vsprintf. It would be nice if this went
> > into 2.4.0 final, especially since it's such a trivial change...
> >
>
> Sorry, but the patch is wrong.
>
> "buf" is a static variable, defined in line 28 [printk.c]
However, printk is the only function using it. Why not move it into
printk? Is 1024 bytes too large for the kernel stack?
BTW, the variable buf is also declared in other functions. Not so nice.
Robert
-- Robert de Vries rhdv@rhdv.cistron.nl
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/