Re: munmap() failure due to sloppy handling of hugepage size - Mailing list pgsql-hackers

From Tom Lane
Subject Re: munmap() failure due to sloppy handling of hugepage size
Date
Msg-id 10256.1476310736@sss.pgh.pa.us
Whole thread Raw
In response to Re: munmap() failure due to sloppy handling of hugepage size  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: munmap() failure due to sloppy handling of hugepage size  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
Merlin Moncure <mmoncure@gmail.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



pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: munmap() failure due to sloppy handling of hugepage size
Next
From: Andres Freund
Date:
Subject: Re: munmap() failure due to sloppy handling of hugepage size