Subject: Re: Alternative approach for interface events
To: Jonathan Stone <jonathan@dsg.stanford.edu>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-net
Date: 09/20/2004 19:47:47
--Apple-Mail-16--683932947
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Sep 20, 2004, at 7:42 PM, Jonathan Stone wrote:

>> 1. eventhandler_init() is unnecessary.  Statically initialize
>> eventhandler_lists and eventhandler_slock instead.
>
> Uh... would that restrict dynamically-loaded kernel modules which want
> to use this API?  What about building a dynamic list of all known
> eventhanlder consumers, for management-api and debugging purposes?

No, all it would do is eliminate an unnecessary "init" function.

         -- Jason R. Thorpe <thorpej@shagadelic.org>


--Apple-Mail-16--683932947
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFBT5ZTOpVKkaBm8XkRArZaAJ9SdM95wCS+v6UECbQv5BPoAIXe9gCgkt6S
QLrjOTKhrpEIRhj4hw1FtMo=
=/knI
-----END PGP SIGNATURE-----

--Apple-Mail-16--683932947--