HomeFreeBSD

math/stp: remove nonsensical sbrk use

Description

math/stp: remove nonsensical sbrk use

This code called sbrk(4000000) and beyond error checking ignored
the result meaning the 4MB of address space allocated could
never be used without another call to sbrk and reference to
INITIAL_MEMORY_PREALLOCATION_SIZE, but nothing in the repo does
either.

Submitted upstream as https://github.com/stp/stp/pull/474

Approved by: arrowd (maintainer)
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D42978

Details

Provenance
brooksAuthored on Dec 11 2023, 5:39 PM
Differential Revision
D42978: math/stp: remove nonsensical sbrk use
Parents
R11:6d4bc09d9ce4: devel/llvm17: merge upstream llvm fixes
Branches
Unknown
Tags
Unknown