All memory is mmaped, especially on OpenBSD, which deprecated basically-mmap-with-a-mustache brk. There's no such thing as "regular old virtual memory".
Re:OpenBSD Recent Security Innovations
by davidcuddeback on Thursday June 06, 2019 @02:26AM
(#20112082)
There’s also malloc_conceal() and calloc_conceal(), as discussed in the article.
So if you're going to add a flag to something to let users conceal a region of memory from a core dump, add it to madvise, adding it to mmap is just adding arbitrary restrictions on the programmer.
Linux got it right with MADV_DONTDUMP