Re: Shared Memory: How to use SYSV rather than MMAP ?
От | Thomas Munro |
---|---|
Тема | Re: Shared Memory: How to use SYSV rather than MMAP ? |
Дата | |
Msg-id | CAEepm=1KGdzguVeypVLcLjR+4WpKQvYtaXOiNG8tpez3qkqHDQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Shared Memory: How to use SYSV rather than MMAP ? (Thomas Munro <thomas.munro@enterprisedb.com>) |
Список | pgsql-hackers |
On Sun, Feb 3, 2019 at 10:56 PM Thomas Munro <thomas.munro@enterprisedb.com> wrote: > Committed 0001. > I've moved the CF entry to the next Commitfest, since we still have to > fix up and commit the 0002 patch for AIX. For the record, one problem with the shared_memory_type=sysv patch as committed is that if you set huge_pages=on on Linux, it is allowed but ignored. I think we should respect it by passing SHM_HUGETLB to shmget(), which, although not especially interesting as a feature (given that there is no good reason for Linux users to prefer System V shared memory anyway), it has the advantage that the code path would be nearly identical to the proposed AIX huge page support (just a different flag name), which is useful for development and testing (by those of us with no AIX access). Then the AIX support will be a very tiny patch on top of that, which Tony can verify. -- Thomas Munro http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: