Re: [patch] x86 clone() speedup, 2.1.90-pre2
H. Peter Anvin (hpa@transmeta.com)
12 Mar 1998 23:14:58 GMT
Followup to: <Pine.LNX.3.96.980312170419.29153B-100000@chiara.csoma.elte.hu>
By author: MOLNAR Ingo <mingo@chiara.csoma.elte.hu>
In newsgroup: linux.dev.kernel
>
> On Thu, 12 Mar 1998, Perry Harrington wrote:
>
> > What about random IO perms ina thread because of not initialzing?
>
> + /*
> + * a bitmap offset pointing outside of the TSS limit causes a nicely
> + * controllable SIGSEGV. The first sys_ioperm() call sets up the
> + * bitmap properly.
> + */
> + p->tss.bitmap = sizeof(struct thread_struct);
>
Why is the I/O bitmap clearing done by fork/clone as opposed to
exec()? Maybe we should introduce a clone() flag to inherit (copy)
the bitmap?
-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu