| From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx> |
| Date: | Tue, 14 Aug 2007 15:00:42 -0700 (PDT) |
proc.p_lwps will soon become a RB-tree to remove the overhead of
searching for a new TID when creating a new thread. Right now
the test is O(N) which means that creating lots of new threads
wind up being O(N^2).
-Matt