Question about SHM_QUEUE

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Question about SHM_QUEUE
Дата
Msg-id 20070411144409.0F9A.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
обсуждение исходный текст
Ответы Re: Question about SHM_QUEUE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello,

I have a question about SHM_QUEUE. Why do we need this component?

We've already made some modules under the assumption that the base offset
of shared memory is mapped to the same address for all processes.
See comment in freespace.h:
* Note: we handle pointers to these items as pointers, not as SHMEM_OFFSETs.* This assumes that all processes accessing
themap will have the shared* memory segment mapped at the same place in their address space.
 

Then, can we replace SHM_QUEUE by a pointer-based double-linked list?
It will be an "intrusive" version of Dllist.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [mux@FreeBSD.org: Re: Anyone interested in improving postgresql scaling?]
Следующее
От: tomas@tuxteam.de
Дата:
Сообщение: Re: prepared statements logging