HomeFreeBSD

Move the schedlock owner state update following the context

Description

Move the schedlock owner state update following the context
switch in fork_exit() to before anything else is done (but keep
schedlock for the deadthread check). This means one less
nasty bug if ever in the future whatever might have been called
before the update played with schedlock or critical sections.

Discussed with: tjr

Details

Provenance
Bosko Milekic <bmilekic@FreeBSD.org>Authored on Jul 27 2004, 3:46 AM
Parents
rG5dd954f3de59: Improve boot-time debugging with DDB by extracting the ksym start/end
Branches
Unknown
Tags
Unknown

Event Timeline