Mark Johnston 621fd9dcb2 timecounter: Lock the timecounter list
Timecounter registration is dynamic, i.e., there is no requirement that
timecounters must be registered during single-threaded boot.  Loadable
drivers may in principle register timecounters (which can be switched to
automatically).  Timecounters cannot be unregistered, though this could
be implemented.

Registered timecounters belong to a global linked list.  Add a mutex to
synchronize insertions and the traversals done by (mpsafe) sysctl
handlers.  No functional change intended.

Reviewed by:	imp, kib
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D32511
2021-10-18 09:56:59 -04:00
..
2021-08-05 23:22:02 +08:00
2021-06-07 16:45:50 -04:00
2021-10-16 20:08:37 +00:00
2020-11-19 02:50:48 +00:00
2021-09-23 07:15:42 +02:00
2021-09-26 15:17:41 +02:00
2020-12-04 18:56:44 +00:00
2021-09-09 10:11:02 -04:00
2021-04-18 11:19:15 -06:00
2021-04-12 11:42:21 -03:00
2021-09-05 12:50:15 -07:00
2021-10-11 10:26:45 +01:00
2021-08-10 21:27:54 -04:00
2021-09-24 20:34:56 -04:00
2020-11-05 15:08:56 +00:00
2021-09-14 14:29:27 -04:00
2021-08-08 21:54:49 -04:00
2020-11-09 00:34:23 +00:00
2021-09-03 23:13:42 -04:00
2020-08-13 20:48:14 +00:00
2021-04-02 15:41:51 +03:00
2021-07-28 22:00:29 -04:00
2021-08-18 08:51:26 +02:00
2020-01-12 23:52:16 +00:00
2021-09-16 20:11:27 +03:00
2021-08-05 23:22:02 +08:00
2021-08-05 23:22:02 +08:00
2021-04-18 11:14:17 -06:00
2020-08-27 05:11:15 +00:00
2021-09-03 22:18:51 -04:00
2021-10-16 20:08:37 +00:00