Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jul 2004 17:05:57 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        ngl <ngl@ur.ru>
Cc:        Tim Robbins <tjr@freebsd.org>
Subject:   Re: Shared/exclusive (rw) locks
Message-ID:  <20040707140557.GA60678@straylight.m.ringlet.net>
In-Reply-To: <0eb601c4633f$6ac150c0$8501a8c0@spirit>
References:  <20040706071732.GA64106@cat.robbins.dropbear.id.au> <0eb601c4633f$6ac150c0$8501a8c0@spirit>

next in thread | previous in thread | raw e-mail | index | archive | help

--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 06, 2004 at 03:55:49PM +0600, ngl wrote:
>=20
> ----- Original Message -----=20
> From: "Tim Robbins" <tjr@freebsd.org>
> To: "ngl" <ngl@ur.ru>
> Cc: <freebsd-stable@freebsd.org>
> Sent: Tuesday, July 06, 2004 1:17 PM
> Subject: Re: Shared/exclusive (rw) locks
>=20
>=20
> > On Tue, Jul 06, 2004 at 12:45:27PM +0600, ngl wrote:
> > > That means, freebsd stable has no spin rwlocks ?
> >
> > Right. Reader-writer spinlocks would not be very useful in FreeBSD 4;
> because
> > only one thread can be running in the kernel at once
>=20
> Forgive for my importunity, but what about smp ?

On FreeBSD 4.x, the kernel only ever runs on one CPU, the CPU that the
system started on.  The other CPU's are only used for scheduling
userland processes.

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If wishes were fishes, the antecedent of this conditional would be true.

--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA7ANF7Ri2jRYZRVMRAg9DAJ4ytU9IeWpgfKpECIYdohh9SFefDgCdF9WE
E9fFSwiT0Ow3bBkyyFBjKtw=
=Ml5Y
-----END PGP SIGNATURE-----

--CE+1k2dSO48ffgeK--


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040707140557.GA60678>