DragonFly BSD
DragonFly kernel List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: lkwt in DragonFly

To: Brooks Davis <brooks@xxxxxxxxxxxxxxxxxx>
From: David Xu <davidxu@xxxxxxxxxxxxxx>
Date: Thu, 12 Feb 2004 12:11:10 +0800

Brooks Davis wrote:
On Tue, Feb 10, 2004 at 08:00:19PM +0100, Joerg Sonnenberger wrote:

There is one good reason why 1:1 would be useful: thread safety. There
are quite a few library functions which are not thread safe and will
never be. Those could use a static storage with is local to the current
process using the per-thread VM spaces.

Thread local storage might be easier in 1:1, but it's not impractical in
n:m.  It's on the KSE todo list for FreeBSD-5.3 (in the kse case it's
required to make the Nvidia OpenGL implemenation work.)

I don't believe that FreeBSD can not avoid Nvidia OpenGL problem if kernel even can provide tls management for userland without %gs or %fs on i386.

-- Brooks

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]