Date: Sat, 31 Jan 2004 21:54:45 -0500 (EST) From: Jeff Roberson <jroberson@chesapeake.net> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_synch.c Message-ID: <20040131215357.N36463-100000@mail.chesapeake.net> In-Reply-To: <200401282044.i0SKifeF063778@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040131215357.N36463-100000>