jhb 0c1bfda974 Fix some nits in fork_exit() so it more properly duplicates the backend
of mi_switch:
- Set the oncpu value for the current thread.
- Always set switchticks, not just in the SMP case.
- Add a KTR entry for fork_exit that is the same as the "new proc"
  entry in mi_switch().
- Release sched_lock a bit later like we do with mi_switch().
2001-12-14 23:37:35 +00:00
..
2001-12-14 17:56:12 +00:00
2001-12-13 13:08:34 +00:00
2001-11-07 19:55:16 +00:00
2001-12-12 10:11:16 +00:00
2001-12-14 17:56:12 +00:00
2001-09-12 08:38:13 +00:00