Page MenuHomeFreeBSD

malloc: retire malloc_last_fail
ClosedPublic

Authored by mjg on Nov 9 2020, 12:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 23 2024, 12:15 AM
Unknown Object (File)
Feb 22 2024, 5:48 AM
Unknown Object (File)
Dec 22 2023, 10:16 PM
Unknown Object (File)
Nov 22 2023, 12:52 PM
Unknown Object (File)
Sep 16 2023, 12:02 AM
Unknown Object (File)
Jul 10 2023, 9:24 AM
Unknown Object (File)
Jul 10 2023, 9:22 AM
Unknown Object (File)
Jul 10 2023, 9:14 AM
Subscribers

Details

Summary

The primitive is not very useful as most consumers call malloc with M_WAITOK and plenty of memory comes from zones anyway, finally it only reports a timestamp.

The only consumer is GBDE which phk promised to take care of, this will wait with landing until it happens.

This eliminates a branch and is a minor step towards fast path.

Diff Detail

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