Page MenuHomeFreeBSD

Linuxulator. Small optimization.
ClosedPublic

Authored by dchagin on Jan 8 2015, 9:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 10:35 AM
Unknown Object (File)
Sun, Nov 3, 7:03 PM
Unknown Object (File)
Sun, Nov 3, 8:33 AM
Unknown Object (File)
Sun, Nov 3, 8:33 AM
Unknown Object (File)
Sun, Nov 3, 8:33 AM
Unknown Object (File)
Sun, Nov 3, 8:14 AM
Unknown Object (File)
Oct 18 2024, 4:04 AM
Unknown Object (File)
Oct 1 2024, 1:22 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.