]> git.hungrycats.org Git - linux/commit
We don't need to wait for task in-activity in release_task() any more,
authorLinus Torvalds <torvalds@home.transmeta.com>
Fri, 21 Feb 2003 01:55:12 +0000 (17:55 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 21 Feb 2003 01:55:12 +0000 (17:55 -0800)
commit3d3f22bee87945d0590568873e93268a2639e7db
treeec9ae8a2232c8104739f760bf2c3a21f33c85050
parentbf6ca9021e77c56781b2858c054e2d7e55f64178
We don't need to wait for task in-activity in release_task() any more,
since we now properly reference-count the allocations and thus can't
be freeing the thread structures from underneath the task running on
another CPU.

Move "free_uid(p->user)" and "security_task_free()" to __put_task_struct(),
so that we're guaranteed to always have a user structure pointer.
kernel/exit.c
kernel/fork.c