Re: Slow pthread_create() under high load

From: Stephen C. Tweedie (sct@redhat.com)
Date: Tue Mar 28 2000 - 08:33:33 EST


Hi,

On Tue, Mar 28, 2000 at 05:07:44AM -0500, Albert D. Cahalan wrote:
>
> Stephen C. Tweedie:
> > Maybe, but although a lot of the POSIX threads are reasonable,
> > things like requiring uid/gid updates to be instantly effective
> > across all threads in the process are just insane.

> If we had a task-group notion in the kernel, we could send some
> sort of signal to all tasks in the group.

You can do that anyway, in user space. Much cleaner.

> It is easy to share PIDs. Rename the old getpid() call to gettid()
> and introduce a new getpid() call. The directories in /proc should
> be seen as tasks, not processes.

User space. :-)

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:22 EST