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)
Wed, Mar 4, 6:40 PM
Unknown Object (File)
Wed, Mar 4, 12:43 PM
Unknown Object (File)
Feb 8 2026, 12:45 PM
Unknown Object (File)
Feb 7 2026, 11:47 PM
Unknown Object (File)
Jan 31 2026, 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
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