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
F124991618: D36572.diff
Sat, Aug 2, 3:44 AM
Unknown Object (File)
Mon, Jul 28, 1:56 PM
Unknown Object (File)
Sat, Jul 12, 9:42 PM
Unknown Object (File)
Sat, Jul 12, 10:44 AM
Unknown Object (File)
Jun 28 2025, 8:39 PM
Unknown Object (File)
Jun 21 2025, 4:34 PM
Unknown Object (File)
Jun 21 2025, 10:41 AM
Unknown Object (File)
Jun 18 2025, 2:21 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