summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2000-04-19 19:14:17 +0000
committerthorpej <thorpej@NetBSD.org>2000-04-19 19:14:17 +0000
commitc6fa58a3226f99081a19cf6bebc7be6cf3c8dfbc (patch)
treed90291d8240575216ce307bbbd7473f679e9a24b /sys/dev/microcode
parent173c535a95cf349737ad3a56e6ece55a56d71c98 (diff)
- Allocate the ktrace operation header on the stack rather than using
MALLOC()/FREE(). - In ktrgenio(): - Don't allocate the entire size of the I/O for the temporary buffer used to write the data to the trace file. Instead, do it in page-sized chunks. - As in uiomove(), preempt the process if we are hogging the CPU. - If writing to the trace file errors, abort rather than continuing to loop through the buffer. From Artur Grabowski <art@stacken.kth.se>, with some additional cleanup by me.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions