• Linus Torvalds's avatar
    We don't need to wait for task in-activity in release_task() any more, · 3d3f22be
    Linus Torvalds authored
    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.
    3d3f22be
fork.c 28.3 KB