freebsd-skq/sys/sun4v
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
..
cddl move CDDL licensed machine description support routine files to cddl directory 2006-11-24 01:56:46 +00:00
compile
conf Turn console printf buffering into a kernel option and only on 2006-11-30 04:17:05 +00:00
include - Explicitly name the fields in pcb that we use to store trap state for later 2006-11-29 05:18:19 +00:00
mdesc Make sure we do not sleep while locks are held. Change the malloc(9) 2006-11-24 22:14:37 +00:00
sun4v - add separate variable for enabling printing of ranges 2006-11-29 19:31:23 +00:00