cvs commit: src/sys/kern kern_clock.c
John Baldwin
jhb at freebsd.org
Sat Dec 17 11:45:16 PST 2005
On Friday 16 December 2005 05:11 pm, John Baldwin wrote:
> jhb 2005-12-16 22:11:52 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/kern kern_clock.c
> Log:
> - Use uintfptr_t rather than int for the kernel profiling index (though
> it really should be a fptrdiff_t if we had that) in profclock().
> - Don't try to profile kernel pc's that are >= the kernel lowpc to avoid
> underflows when computing a profiling index.
s/Don't/Only/ oops.
> - Use the PC_TO_I() macro to compute the kernel profiling index rather
> than doing it inline.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the cvs-src
mailing list