[Bug 204049] vmtotal() loading is high when memory utilization is high
Bruce Evans
brde at optusnet.com.au
Wed Oct 28 15:41:03 UTC 2015
On Thu, 29 Oct 2015, Bruce Evans wrote:
> ...
> There ar many bugs in the implementation of clock_gettime() family. Some
> of the related ones are:
> - none of the above unportable clock ids is documented
> - CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID are bogusly named.
> The '_ID' in their name is redundant, and is not used for the name of
> any other clock id. It would be useful for them to operated on a general
> pid or tid, but they don't.
> - the undocumented magic clock ids do act on a general pid or tid. The
> thread case is an implementation detail for pthread_getcpuclockid(3)
> which is documented.
Oops. Actually, CLOCK_VIRTUAL and CLOCK_PROF are documented.
Visibility ifdefs and corresponding documentation is broken for most
CLOCK ids. CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID are
actually standard and undocumented, while CLOCK_VIRTUAL and CLOCK_PROF
are nonstandard but documented as standard (by omitting them from the
list of documented extensions). The visibility ifdefs are jumbled
differently.
Bruce
More information about the freebsd-bugs
mailing list