Subject: Re: SMP re-entrancy in kernel drivers/"bottom half?"
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: tech-kern
Date: 02/22/2005 14:02:55
--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Dec 30, 2003 at 01:34:53PM +0900, YAMAMOTO Takashi wrote:
> > >for your purpose, i think what you need are:
> > >- change lowlevel intr handler (Xintr_* in the case of i386) not to
> > >  take kernel_lock if the driver is marked as mp-safe.
> > >- make the driver mp-safe.
> > >	- change the driver to acquire per-device lock if needed.
> > >	- change the driver to acquire kernel_lock
> > >	  (or other fine-grained locks) when needed.
> 
> for someone interested..
...

yamt, is this patch a proposal for implementing mp-safe networking? or an 
expiriment containing it?

Cheers,
Reinoud


--NzB8fVQJ5HfG6fxh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQhstd4KcNwBDyKpoAQLk4wf+Lr3yKRHe0KcSXU6ZLeFeIAgq2Rk5lw9I
86/ZD9CWqhIotjMDmL9W/GZR6/Ekz6ZuRO0j5nwLmUrtok9nVvg8JL0GegUi6tr5
1rcOfV3pyP9V47dY9O0dJ8tLz8exLYD2aCM9MZ/mHg5K1hJMicVJlHQgpMogqYjY
oPK1OqZBbJnKPaiNTmQ7skX4vbCwEnleyvtiHrmLXWPKkCm0NV1sDJSp/SshDwE8
Em6fdzDEseqxv6DyPbovV/F5LdmlcWinbQHi3wNifLf1a4GubiRlUVd+jGUbLZEc
aDZXlsSqlefr+/La1IH8sAuEfNghJvxPvEFzuz+daZyzZwkxCuca3A==
=YYZ7
-----END PGP SIGNATURE-----

--NzB8fVQJ5HfG6fxh--