Page MenuHomeFreeBSD

stand: Move md_copymodules into modinfo.c and reduce copies
ClosedPublic

Authored by imp on Sep 14 2022, 7:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 16, 2:30 AM
Unknown Object (File)
Sat, May 16, 2:30 AM
Unknown Object (File)
Sat, May 16, 2:30 AM
Unknown Object (File)
Apr 21 2026, 6:23 AM
Unknown Object (File)
Apr 10 2026, 5:27 PM
Unknown Object (File)
Apr 7 2026, 7:19 AM
Unknown Object (File)
Mar 17 2026, 10:26 PM
Unknown Object (File)
Mar 4 2026, 6:40 PM
Subscribers

Details

Summary

md_copymodules, bi_copymdoules, bi_copymodules32 (x2) and
bi_copymodules64 (x2) are all the same routine... Replace them all with
md_copymodules. This saves about 800 bytes on i386 BIOS loader, which is
a nice bonus.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable