Merlin Moncure <mmoncure(at)gmail(dot)com> writes:
> ISTM all this silliness is pretty much unique to linux anyways.
> Instead of reading the filesystem, what about doing test map and test
> unmap?
And if mmap succeeds and munmap fails, you'll recover how exactly?
If this API were less badly designed, we'd not be having this problem
in the first place ...
regards, tom lane