]> git.neil.brown.name Git - history.git/commit
[PATCH] threading fix, tid-2.5.47-A3
authorIngo Molnar <mingo@elte.hu>
Sun, 17 Nov 2002 03:22:19 +0000 (19:22 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 17 Nov 2002 03:22:19 +0000 (19:22 -0800)
commit5c72e21034b59fd8208dadfe414bdb1688ee8765
tree3522ddbd7d3e07665295ed0751b62ef33a1e1e55
parent4a539f1c62c6a5ba63b93323b23bfc6f10937586
[PATCH] threading fix, tid-2.5.47-A3

This introduces the sys_set_thread_address() syscall.  It sets the tid
address (which gets cleared at VM release time) and returns the PID so
that the newly initialized 'initial thread' does not have to do an
additional sys_gettid() call.

It is used to bootstrap a thread group where the original thread user
hasn't had a tid address assigned to it by any parent.
arch/i386/kernel/entry.S
kernel/fork.c