Re: [RFC] POSIX personality

Linus Torvalds (torvalds@transmeta.com)
Tue, 21 May 2002 13:52:37 -0700 (PDT)


On Tue, 21 May 2002, Dave McCracken wrote:
>
> 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.

I don't see any reason to start using some fixed-mode semantics without
seeing some stronger arguments on exactly why that would be a good idea.
We have used up 11 of 24 bits (and more can be made available) over the
last five years, and there are no obvious inefficiencies that I can see.

Also, stateful computing is usually a _bad_ idea. System calls that behave
differently depending on some external state should be avoided. Yes, it's
largely unavoidable if the external state is "we now emulate some other OS
behaviour", but that's not an excuse to create new such state, imnsho.

Linus

-
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/