Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc



Module Name:    syssrc
Committed By:   thorpej
Date:           Wed Apr 19 19:14:18 UTC 2000

Modified Files:
        syssrc/sys/kern: kern_ktrace.c

Log Message:
- 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@localhost>, with some additional 
>cleanup
by me.


To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 syssrc/sys/kern/kern_ktrace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index