]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
extres/clk: Improve sysctl dump of clocks.
authorMichal Meloun <mmel@FreeBSD.org>
Fri, 24 Dec 2021 07:38:32 +0000 (08:38 +0100)
committerMichal Meloun <mmel@FreeBSD.org>
Fri, 24 Dec 2021 18:42:01 +0000 (19:42 +0100)
commit72a2f3b5e28ada60de01f08b28888f70eec0baed
treed7ea1edab7b15e6783326b54b76b0f4ee1734c9f
parent8ddb4b9b6668f88acc70042923384383247340dc
extres/clk: Improve sysctl dump of clocks.

Always recalculate the frequency, the cache is lazily initialized so it is not always up to date.
While I'm in mark sysctl as MPSAFE.

Discussed with: manu, adrian
MFC after: 1 week
sys/dev/extres/clk/clk.c