HomeFreeBSD

malloc: retire malloc_last_fail

Description

malloc: retire malloc_last_fail

The routine does not serve any practical purpose.

Memory can be allocated in many other ways and most consumers pass the
M_WAITOK flag, making malloc not fail in the first place.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D27143

Details

Provenance
mjgAuthored on
Reviewer
markj
Differential Revision
D27143: malloc: retire malloc_last_fail
Parents
rS367626: gbde: replace malloc_last_fail with a kludge
Branches
Unknown
Tags
Unknown