All of lore.kernel.org
 help / color / mirror / Atom feed
[parent not found: <187597808@toto.iv>]
* [RFC] POSIX personality
@ 2002-05-21 20:27 Dave McCracken
  2002-05-21 20:52 ` Linus Torvalds
  2002-05-21 21:13 ` george anzinger
  0 siblings, 2 replies; 16+ messages in thread
From: Dave McCracken @ 2002-05-21 20:27 UTC (permalink / raw)
  To: Linux Kernel; +Cc: Linus Torvalds


As part of improving support for POSIX multithreading I've been putting
together some patches to allow more things to be shared between tasks.
Right now this is accomplished via flags to clone() with one flag per
resource to be shared.  This usually translates to a data structure pointed
to out of task_struct, complete with reference count and lock.

In a discussion today an alternate idea was proposed by Ben LaHaise.  He
suggested creating a POSIX personality, or execution domain.  This would
take some pressure off the clone flag space as well as allowing some
optimizations in the code. It could also be used in situations where
POSIX-compatible behavior entails more than just sharing extra resources
between tasks.

This would assume that the resources I'm sharing would only be useful for
POSIX compatibility, but at this point it seems unlikely that anyone would
want to share a subset of them.  The resources I'm currently working on
include credentials, signals,  and timers, and there's a patch available
for semaphore undo that could also be part of this mechanism.

Since you've made it this far my question to you all is this:  assuming
that we do want improved POSIX compatibility does this sound like a
reasonable way to add it?

Thanks,
Dave McCracken

======================================================================
Dave McCracken          IBM Linux Base Kernel Team      1-512-838-3059
dmccr@us.ibm.com                                        T/L   678-3059


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2002-06-05 13:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.33.0205211349100.3073-100000@penguin.transmeta.com.suse.lists.linux.kernel>
     [not found] ` <72190000.1022014608@baldur.austin.ibm.com.suse.lists.linux.kernel>
2002-05-21 21:35   ` [RFC] POSIX personality Andi Kleen
2002-05-21 23:08     ` Linus Torvalds
2002-05-22 14:19       ` Dave McCracken
2002-05-28 17:26         ` Michael Sinz
2002-05-28 17:31           ` Dave McCracken
     [not found] <187597808@toto.iv>
2002-05-21 23:55 ` Peter Chubb
2002-05-21 20:27 Dave McCracken
2002-05-21 20:52 ` Linus Torvalds
2002-05-21 20:56   ` Dave McCracken
2002-05-23 14:10   ` Bill Davidsen
2002-05-23 17:09     ` Linus Torvalds
2002-05-25  0:02       ` jw schultz
2002-05-25  0:38         ` Alan Cox
2002-06-05 13:26         ` Bill Davidsen
2002-05-21 21:13 ` george anzinger
2002-05-21 21:21   ` Dave McCracken

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.