freebsd-dev/sys/sparc64
John Birrell e0b651251d Turn console printf buffering into a kernel option and only on
by default for sun4v where it is absolutely required.

This change moves the buffer from struct pcpu to the stack to avoid
using the critical section which created a LOR in a couple of cases
due to interaction with the tty code and kqueue. The LOR can't be
fixed with the critical section and the pcpu buffer can't be used
without the critical section.

Putting the buffer on the stack was my initial solution, but it was
pointed out that the stress on the stack might cause problems
depending on the call path. We don't have a way of creating tests
for those possible cases, so it's best to leave this as an option
for the time being. In time we may get enough data to enable this
option more generally.
2006-11-30 04:17:05 +00:00
..
central
compile
conf Remove the KDTRACE option again because of the complaints about having 2006-11-04 23:50:12 +00:00
creator
ebus
fhc
include In the replacement text of the __bswapN_const() macros encapsulate the 2006-10-30 21:50:11 +00:00
isa
pci
sbus
sparc64 Turn console printf buffering into a kernel option and only on 2006-11-30 04:17:05 +00:00