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)
Thu, Dec 11, 4:16 AM
Unknown Object (File)
Wed, Nov 26, 11:35 AM
Unknown Object (File)
Nov 17 2025, 12:44 PM
Unknown Object (File)
Nov 16 2025, 5:36 AM
Unknown Object (File)
Nov 7 2025, 2:22 AM
Unknown Object (File)
Nov 2 2025, 6:10 AM
Unknown Object (File)
Oct 29 2025, 10:46 PM
Unknown Object (File)
Oct 29 2025, 2:47 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