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 - Register the generic implementations for the device shutdown, suspend 2006-01-26 21:14:32 +00:00
compile
conf Remove the KDTRACE option again because of the complaints about having 2006-11-04 23:50:12 +00:00
creator - Declare lookup tables etc. const. 2005-07-10 11:16:34 +00:00
ebus Set the rid for any resource obtained from rman_reserve_resource. 2006-04-20 04:20:41 +00:00
fhc Add convenience macros for the full register set and use them to replace 2006-03-28 19:46:48 +00:00
include In the replacement text of the __bswapN_const() macros encapsulate the 2006-10-30 21:50:11 +00:00
isa - Declare the PnP map const. 2006-06-05 17:48:54 +00:00
pci The T2000 has multiple PCI domains requiring bus allocation to be done differently. 2006-10-12 04:44:01 +00:00
sbus - Merge sys/sparc64/pci/psycho.c rev. 1.8: 2006-06-08 21:02:25 +00:00
sparc64 Turn console printf buffering into a kernel option and only on 2006-11-30 04:17:05 +00:00