cvs commit: src/sys/kern kern_synch.c

Jeff Roberson jroberson at chesapeake.net
Sat Jan 31 18:54:47 PST 2004


On Wed, 28 Jan 2004, John Baldwin wrote:

> jhb         2004/01/28 12:44:41 PST
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/kern             kern_synch.c
>   Log:
>   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.

Can you back this out now?  I've commited a slightly better solution that
makes our loadavg function more correct as well as removing the lock
requirement.

Cheers,
Jeff

>
>   Revision  Changes    Path
>   1.240     +31 -12    src/sys/kern/kern_synch.c
>



More information about the cvs-all mailing list