lkml.org 
[lkml]   [2003]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] procfs/procps threading performance speedup, 2.5.62
On Thu, Feb 20, 2003 at 04:47:15PM +0000, Miquel van Smoorenburg wrote:
> In article <Pine.LNX.4.44.0302201656030.30000-100000@localhost.localdomain>,
> Ingo Molnar <mingo@elte.hu> wrote:
> >the fix for this is two-fold. First, it must be possible for procps to
> >separate 'threads' from 'processes' without having to go into 16 thousand
> >directories. I solved this by prefixing 'threads' (ie. non-group-leader
> >threads) with a dot ('.') character in the /proc listing:
>
> Why not put threads belonging to a thread group into /proc/17072/threads ?

I'm also inclined to think this is a good idea. We could even choose
to use /proc/17072/lwp, to match Solaris, but it's probably not worth
it since the semantics are different.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.057 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site