Searched hist:103235 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.1-release/sys/kern/ | ||
H A D | kern_ktrace.c | diff 103235 Wed Sep 11 18:56:05 MDT 2002 jhb - Change ktrace genio events to only copy up to ktr_geniosize bytes of a transfer to a malloc'd buffer and use that bufer for the ktrace event. This means that genio ktrace events no longer need to be synchronous. - Now that ktr_buffer isn't overloaded to sometimes point to a cached uio pointer for genio requests and always points to a malloc'd buffer if not NULL, free the buffer in ktr_freerequest() instead of in ktr_writerequest(). This closes a memory leak for ktrace events that used a malloc'd buffer that had their vnode ripped out from under them while they were on the todo list. Suggested by: bde (1, in principle) |
Completed in 121 milliseconds