kern/116310: [patch] prevent junk lines in log on SMP

kib at kib at
Mon Oct 15 03:06:23 PDT 2007

Synopsis: [patch] prevent junk lines in log on SMP

State-Changed-From-To: open->closed
State-Changed-By: kib
State-Changed-When: Mon Oct 15 10:03:57 UTC 2007
I think the patch is wrong. You cannot take the (default sleepable) mutex
in the printf path, since the function is called from arbitrary kernel
context. I do not think that even spin mutex could be used there.

The right solution to the problem seems be setting the PRINTF_BUFR_SIZE
kernel config option.

More information about the freebsd-bugs mailing list