lkwt in DragonFly

David Xu davidxu at viatech.com.cn
Wed Feb 11 20:11:10 PST 2004


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







More information about the Kernel mailing list