]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the loadav() callout into its own kthread since it uses allproc_lock
authorjhb <jhb@FreeBSD.org>
Wed, 28 Jan 2004 20:44:41 +0000 (20:44 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 28 Jan 2004 20:44:41 +0000 (20:44 +0000)
commit114683f922e2de33cfbe10397f96debe7878b8c8
tree504f68e91f1f4fbd4d1299d5acfe7a0172ce4f9f
parent657a196e7a050d9d36fa60573c770822bdffdd5a
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