Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 16:12:02 +0800
From:      "David Xu" <davidxu@freebsd.org>
To:        <deischen@freebsd.org>, "Terry Lambert" <tlambert2@mindspring.com>
Cc:        marcel@xcllnt.net
Subject:   Re: KSD/TSD take 2 (was: KSE critical regions)
Message-ID:  <009101c35284$6f943350$0701a8c0@tiger>
References:  <Pine.GSO.4.10.10307250339460.8657-100000@pcnet5.pcnet.com>

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

----- Original Message -----=20
From: "Daniel Eischen" <eischen@vigrid.com>
To: "Terry Lambert" <tlambert2@mindspring.com>
Cc: <threads@freebsd.org>; "David Xu" <davidxu@freebsd.org>; "Julian =
Elischer" <julian@elischer.org>; <marcel@xcllnt.net>
Sent: Friday, July 25, 2003 3:43 PM
Subject: Re: KSD/TSD take 2 (was: KSE critical regions)


> On Fri, 25 Jul 2003, Terry Lambert wrote:
>=20
> > Daniel Eischen wrote:
> > > I'd like to try and get his implemented in this next
> > > round of changes.  If you are going to add a system
> > > call, it's easy enough just to call the guts of it
> > > from kse_create().
> >=20
> > FWIW: One trick would be to use an "invalid" value for one of the
> > parameters on the existing call to mux you into an alternate
> > implementsion (which could even take additional parameters, for
> > obvious reasons).
>=20
> Possibly...
>=20
>     i386_set_ldt(int start_sel, union descriptor *descs, int =
num_sels);
>=20
> You could use start_sel =3D 0 and num_sels =3D 1 to have it =
automatically
> find the first one not already allocated.  The function already
> returns the first selector allocated.
>=20
Not only allocate, there needs a deallocate call.

> --=20
> Dan Eischen
>=20
> _______________________________________________
> freebsd-threads@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to =
"freebsd-threads-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009101c35284$6f943350$0701a8c0>