Messages in this thread | | | Date | Thu, 6 Jul 2000 08:06:21 +0100 (BST) | From | Tigran Aivazian <> | Subject | Re: Quick question about do_exit... |
| |
On Wed, 5 Jul 2000, Chris Lattner wrote:
> > 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. :) >
have a look in schedule(). Hint - release_kernel_lock().
Regards, Tigran
- 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/
| |