summaryrefslogtreecommitdiff
path: root/rts/ProfHeap.c
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-01-24 09:40:33 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-01 02:29:23 -0500
commit58ed6c4a0999c0025b1b024bc26171fa6d6773b3 (patch)
tree5c9737af1c239b4b5e0b7e03114fba514fddae16 /rts/ProfHeap.c
parent913287a0fa5370a2488ce560f2dfba61db51055d (diff)
downloadhaskell-58ed6c4a0999c0025b1b024bc26171fa6d6773b3.tar.gz
rts/M32Alloc: Don't attempt to unmap non-existent pages
The m32 allocator's `pages` list may contain NULLs in the case that the page was flushed. Some `munmap` implementations (e.g. FreeBSD's) don't like it if we pass them NULL. Don't do that.
Diffstat (limited to 'rts/ProfHeap.c')
0 files changed, 0 insertions, 0 deletions