Page MenuHomeFreeBSD

malloc: retire malloc_last_fail
ClosedPublic

Authored by mjg on Nov 9 2020, 12:44 AM.
Tags
None
Referenced Files
F170756237: D27143.id.diff
Sun, Sep 6, 10:48 AM
F170730145: D27143.id.diff
Sun, Sep 6, 6:37 AM
Unknown Object (File)
Sat, Sep 5, 2:23 PM
Unknown Object (File)
Fri, Sep 4, 2:54 PM
Unknown Object (File)
Fri, Sep 4, 10:59 AM
Unknown Object (File)
Fri, Sep 4, 9:46 AM
Unknown Object (File)
Fri, Sep 4, 9:34 AM
Unknown Object (File)
Thu, Sep 3, 9:19 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