]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the loadav() callout into its own kthread since it uses allproc_lock
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 28 Jan 2004 20:44:41 +0000 (20:44 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 28 Jan 2004 20:44:41 +0000 (20:44 +0000)
commitd5b75694e7d7dbd147affd7a572bc00003e24211
tree504f68e91f1f4fbd4d1299d5acfe7a0172ce4f9f
parent5352136a25176515a465e28c4345f47231079a44
Move the loadav() callout into its own kthread since it uses allproc_lock
which is a sleepable lock and thus is not safe to acquire from a callout
routine.
sys/kern/kern_synch.c