Date: Tue, 12 Dec 2000 12:24:50 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Peter Jeremy <peter.jeremy@alcatel.com.au> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/sys kernel.h eventhandler.h src/sys/kern Message-ID: <XFMail.001212122450.jhb@FreeBSD.org> In-Reply-To: <20001213071758.R69646@gsmx07.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12-Dec-00 Peter Jeremy wrote: > On 2000-Dec-11 20:01:35 -0800, John Baldwin <jhb@FreeBSD.ORG> wrote: >>jhb 2000/12/11 20:01:35 PST >> >> Modified files: >> sys/sys kernel.h eventhandler.h >> sys/kern subr_eventhandler.c >> Log: >> - Convert the per-eventhandler list mutex to a lockmgr lock so that it can >> be safely held across an eventhandler function call. >> - Fix an instance of the head of an eventhandler list being read without >> the lock being held. >> - Break down and use a SYSINIT at the new SI_SUB_EVENTHANDLER to initialize >> the eventhandler global mutex and the eventhandler list of lists rather >> than using a non-MP safe initialization during the first call to >> eventhandler_register(). >> - Add in a KASSERT() to eventhandler_register() to ensure that we don't try >> to register an eventhandler before things have been initialized. >> >> Revision Changes Path >> 1.75 +2 -1 src/sys/sys/kernel.h >> 1.15 +9 -11 src/sys/sys/eventhandler.h > > I think change to eventhandler.h has broken the agp module build: I wasn't sure if this breakage had been seen by anyone else. The fix is to have agp include sys/proc.h. I'll commit in a second.. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001212122450.jhb>