HomeFreeBSD

exec: get rid of one vnode lock/unlock pair in do_execve

Description

exec: get rid of one vnode lock/unlock pair in do_execve

The lock was temporarily dropped for vrele calls, but they can be
postponed to a point where the lock is not held in the first place.

While here shuffle other code not needing the lock.

Details

Provenance
mjgAuthored on
Parents
rS300850: Fix dtrace_interrupt_disable and dtrace_interrupt_enable by having the
Branches
Unknown
Tags
Unknown