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, Nov 26, 11:35 AM
Unknown Object (File)
Mon, Nov 17, 12:44 PM
Unknown Object (File)
Sun, Nov 16, 5:36 AM
Unknown Object (File)
Fri, Nov 7, 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
Unknown Object (File)
Oct 27 2025, 2:44 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