Page MenuHomeFreeBSD

malloc: retire malloc_last_fail
ClosedPublic

Authored by mjg on Nov 9 2020, 12:44 AM.
Tags
None
Referenced Files
F109273471: D27143.diff
Sun, Feb 2, 9:44 PM
Unknown Object (File)
Sat, Jan 11, 9:05 PM
Unknown Object (File)
Dec 13 2024, 10:21 PM
Unknown Object (File)
Dec 10 2024, 8:47 PM
Unknown Object (File)
Dec 1 2024, 10:33 PM
Unknown Object (File)
Dec 1 2024, 10:33 PM
Unknown Object (File)
Dec 1 2024, 10:33 PM
Unknown Object (File)
Dec 1 2024, 9:42 PM
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

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 34701