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, Jul 4, 4:21 PM
Unknown Object (File)
Sun, Jun 21, 10:52 AM
Unknown Object (File)
Sat, Jun 20, 9:44 AM
Unknown Object (File)
Jun 6 2026, 4:42 AM
Unknown Object (File)
Jun 6 2026, 4:16 AM
Unknown Object (File)
Jun 5 2026, 7:15 PM
Unknown Object (File)
Jun 3 2026, 9:51 PM
Unknown Object (File)
May 16 2026, 2:30 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 47388
Build 44275: arc lint + arc unit