diff options
author | ian <ian@FreeBSD.org> | 2015-08-23 18:03:43 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2015-08-23 18:03:43 +0000 |
commit | 8cf9fedbf651f151cb25af637e612be5b827d962 (patch) | |
tree | cf04455142daaa6e263a9eaff0f3bba9977cd3da /share/man/man4/timecounters.4 | |
parent | 9fbd70f0796a6feeb989a8f1443fefd3d29409c0 (diff) | |
download | FreeBSD-src-8cf9fedbf651f151cb25af637e612be5b827d962.zip FreeBSD-src-8cf9fedbf651f151cb25af637e612be5b827d962.tar.gz |
MFC r286701:
If a specific timecounter has been chosen via sysctl, and a new
timecounter with higher quality registers (presumably in a module that has
just been loaded), do not undo the user's choice by switching to the new
timecounter.
Document that behavior, and also the fact that there is no way to
unregister a timecounter (and thus no way to unload a module containing
one).
Diffstat (limited to 'share/man/man4/timecounters.4')
-rw-r--r-- | share/man/man4/timecounters.4 | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/share/man/man4/timecounters.4 b/share/man/man4/timecounters.4 index 9abb522..52c68d7 100644 --- a/share/man/man4/timecounters.4 +++ b/share/man/man4/timecounters.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 12, 2014 +.Dd August 12, 2015 .Dt TIMECOUNTERS 4 .Os .Sh NAME @@ -96,10 +96,16 @@ compared to others. A negative value means this time counter is broken and should not be used. .El .Pp -The time management code of the kernel chooses one time counter from that list. -The current choice can be read and affected via the +The time management code of the kernel automatically switches to a +higher-quality time counter when it registers, unless the .Va kern.timecounter.hardware -tunable/sysctl. +sysctl has been used to choose a specific device. +.Pp +There is no way to unregister a time counter once it has registered +with the kernel. +If a dynamically loaded module contains a time counter you will not +be able to unload that module, even if the time counter it contains +is not the one currently in use. .Sh SEE ALSO .Xr attimer 4 , .Xr eventtimers 4 , |