Page MenuHomeFreeBSD

Linuxulator. Small optimization.
ClosedPublic

Authored by dchagin on Jan 8 2015, 9:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 23 2024, 8:35 PM
Unknown Object (File)
Dec 22 2023, 5:03 AM
Unknown Object (File)
Dec 22 2023, 5:03 AM
Unknown Object (File)
Dec 20 2023, 1:22 AM
Unknown Object (File)
Nov 29 2023, 11:53 PM
Unknown Object (File)
Nov 25 2023, 3:18 AM
Unknown Object (File)
Nov 25 2023, 1:58 AM
Unknown Object (File)
Nov 6 2023, 7:08 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dchagin retitled this revision from to Linuxulator. Small optimization..
dchagin updated this object.
trasz added inline comments.
sys/compat/linux/linux_emul.c
120 โ†—(On Diff #3056)

Those three were not cleared in the previous version of the code. Why do it now?

sys/compat/linux/linux_emul.c
120 โ†—(On Diff #3056)

because it was a bug, this is the 'exec' case and for newly created process I'm clean previous proc's data.

trasz added a reviewer: trasz.
This revision is now accepted and ready to land.Mar 25 2015, 1:43 PM
This revision was automatically updated to reflect the committed changes.