HomeFreeBSD

Don't assume that p_session hasn't changed out from under us after unlocking
rS113634Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Don't assume that p_session hasn't changed out from under us after unlocking
the process and session. Instead, cache a true reference to the session
when we do the hold and release our reference on that session. This avoids
the need for the proc lock when dropping the reference.

Details

Provenance
jhbAuthored on
Parents
rS113633: Lock the sched_lock while setting TDF_INPANIC.
Branches
Unknown
Tags
Unknown

Event Timeline