Re: [patch] procfs/procps threading performance speedup, 2.5.62

From: Daniel Jacobowitz (dan@debian.org)
Date: Thu Feb 20 2003 - 11:55:40 EST


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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:29 EST