Move the loadavg calculation to sched_bsd.c as update_loadav()
authorclaudio <claudio@openbsd.org>
Fri, 18 Aug 2023 09:18:52 +0000 (09:18 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 18 Aug 2023 09:18:52 +0000 (09:18 +0000)
commit02d561d09200565aadf0aa2290278a365803be27
tree36a74b0dfb8a7152635e217df4afd96419f49e6e
parent5f814157b83ec4ae2a3c04e126a9a42f18a192c8
Move the loadavg calculation to sched_bsd.c as update_loadav()

With this uvm_meter() is no more and update_loadav() uses a simple timeout
instead of getting called via schedcpu().

OK deraadt@ mpi@ cheloha@
sys/kern/sched_bsd.c
sys/uvm/uvm_extern.h
sys/uvm/uvm_meter.c