HomeFreeBSD

Don't set lo_name and clobber lo_flags in lock_profile_object_init().
rS169912Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Don't set lo_name and clobber lo_flags in lock_profile_object_init().
This was just wasteful when this was always called before lock_init()
(which overwrote both fields each time), but when
lock_profile_object_init() was moved into lock_init() the clearing of
lo_flags proved fatal (all locks became spin locks to _sleep(), etc.)

Reported by: kris

Details

Provenance
jhbAuthored on
Parents
rS169911: MFC: Rework the support used by ABIs to override resource limits so that
Branches
Unknown
Tags
Unknown

Event Timeline