Page MenuHomeFreeBSD

amd64: reimplement libc memset and bzero with kernel memset
ClosedPublic

Authored by mjg on Sep 28 2018, 11:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 3:41 AM
Unknown Object (File)
Oct 7 2024, 6:45 AM
Unknown Object (File)
Sep 18 2024, 3:17 AM
Unknown Object (File)
Sep 8 2024, 2:42 PM
Unknown Object (File)
Sep 5 2024, 9:50 PM
Unknown Object (File)
Sep 1 2024, 6:56 AM
Unknown Object (File)
Aug 31 2024, 8:04 PM
Unknown Object (File)
Aug 19 2024, 6:24 AM
Subscribers

Details

Summary

This is a depessimization, see r334537 for an explanation.

bzero was removed from the kernel but remains in libc. Macroify to accommodate differences to memset (no return value, always setting to 0).

The bzero.S file is left in place due to libc build magic which pulls in a C variant if a matching .S file is missing.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable