Quick question about do_exit...

From: Chris Lattner (sabre@skylab.org)
Date: Wed Jul 05 2000 - 19:01:53 EST


I have a quick question about the do_exit function... the bottom of which
looks like this:

        lock_kernel();
fake_volatile:
#ifdef CONFIG_BSD_PROCESS_ACCT
        acct_process(code);
#endif
        sem_exit();
        __exit_mm(tsk);
        __exit_files(tsk);
        __exit_fs(tsk);
        __exit_sighand(tsk);
        exit_thread();
        tsk->state = TASK_ZOMBIE;
        tsk->exit_code = code;
        exit_notify();
        put_exec_domain(tsk->exec_domain);
        if (tsk->binfmt && tsk->binfmt->module)
                __MOD_DEC_USE_COUNT(tsk->binfmt->module);
        schedule();

Where does the kernel lock get dropped? I can't seem to find out where
this is... and I have looked high and low. :)

-Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:17 EST