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)
Mon, Aug 17, 9:55 AM
Unknown Object (File)
Wed, Aug 5, 5:18 AM
Unknown Object (File)
Tue, Aug 4, 2:02 AM
Unknown Object (File)
Sun, Aug 2, 11:05 AM
Unknown Object (File)
Thu, Jul 30, 4:15 PM
Unknown Object (File)
Jul 20 2026, 12:39 AM
Unknown Object (File)
Jul 8 2026, 2:44 PM
Unknown Object (File)
Jul 7 2026, 9:31 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 47388
Build 44275: arc lint + arc unit