HomeFreeBSD

If malloc() sleeps, Giant is dropped. Recheck for another thread

Description

If malloc() sleeps, Giant is dropped. Recheck for another thread
doing our work.

Remove unneeded check for failed M_WAITOK allocation.

Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Reviewer
alc
Parents
rS278962: Add LIBXO.
Branches
Unknown
Tags
Unknown

Event Timeline