Re: Providing anonymous mmap as an option of sharing memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Providing anonymous mmap as an option of sharing memory
Дата
Msg-id 23349.1069951295@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Providing anonymous mmap as an option of sharing memory  (Shridhar Daithankar <shridhar_daithankar@myrealbox.com>)
Список pgsql-hackers
Shridhar Daithankar <shridhar_daithankar@myrealbox.com> writes:
> Tom Lane wrote:
>> And that helps how?  The problem is to detect whether there are any
>> children left from the old postmaster, when what you have to work from
>> is the pid-file it left behind.

> fine. We need shared memory for that. How about using 1 8K page just for 
> detecting that? We don't need to base shared memory model on that, right?

So why should we depend on two kernel APIs when one is sufficient?  You
still haven't pointed to any actual advantage that mmap'ing shared buffers
would offer over allocating them with SysV shmem.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: support of compound words in contrib/tsearch2
Следующее
От: ow
Дата:
Сообщение: Re: pg_restore and create FK without verification check