Date: Thu, 4 Jun 2009 15:19:47 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-arch@freebsd.org Subject: Re: HEADS UP: Removing functions from driver API Message-ID: <200906041519.47552.jhb@freebsd.org> In-Reply-To: <20090604.121611.1057477291.imp@bsdimp.com> References: <20090604.121611.1057477291.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 04 June 2009 2:16:11 pm M. Warner Losh wrote: > I'd like to remove from the driver API by making the following static: > devclass_add_driver > devclass_delete_driver > devclass_find_driver > > They aren't used, nor generally useful, by drivers in the current > tree. The devclass_t routines are generally harder to lock than > necessary because they touch so much global data. By eliminating > these from the API, its three fewer functions that need to be robustly > locked for external consumers. Since they are basically unused today > anyway, I think it would be better to just reduce their scope. > > Comments? Go for it. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906041519.47552.jhb>