[PATCH] [V2] add options to ps(1) to display lwp data

Matthew Dillon dillon at apollo.backplane.com
Tue Aug 14 15:01:21 PDT 2007


    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





More information about the Submit mailing list