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)
Sun, Feb 8, 12:45 PM
Unknown Object (File)
Sat, Feb 7, 11:47 PM
Unknown Object (File)
Sat, Jan 31, 12:45 PM
Unknown Object (File)
Dec 30 2025, 12:41 AM
Unknown Object (File)
Dec 11 2025, 4:16 AM
Unknown Object (File)
Nov 26 2025, 11:35 AM
Unknown Object (File)
Nov 17 2025, 12:44 PM
Unknown Object (File)
Nov 16 2025, 5:36 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 Not Applicable
Unit
Tests Not Applicable