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

kib at FreeBSD.org kib at FreeBSD.org
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
State-Changed-Why: 
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.

http://www.freebsd.org/cgi/query-pr.cgi?pr=116310


More information about the freebsd-bugs mailing list