HomeFreeBSD

Avoid unnecessary em zeroing in non-exec path

Description

Avoid unnecessary em zeroing in non-exec path
as it already zeroed by malloc with M_ZERO flag
and move zeroing to the proper place in exec path.

Differential Revision: https://reviews.freebsd.org/D1462
Reviewed by: trasz

Details

Provenance
dchaginAuthored on
Reviewer
trasz
Differential Revision
D1462: Linuxulator. Small optimization.
Parents
rS283453: Remove the unnecessary cast.
Branches
Unknown
Tags
Unknown