| От | Bruce Momjian |
|---|---|
| Тема | Re: dynamically allocating chunks from shared memory |
| Дата | |
| Msg-id | 201008091833.o79IX8F11111@momjian.us обсуждение исходный текст |
| Ответ на | Re: dynamically allocating chunks from shared memory (Markus Wanner <markus@bluegap.ch>) |
| Список | pgsql-hackers |
Markus Wanner wrote: > Hi, > > On 08/09/2010 06:10 PM, Bruce Momjian wrote: > > My point is that you can treat malloc the same as "add shared memory", > > to some extent, with the same limiations. > > Once one of the SLRU buffers is full, it cannot currently allocate from > another SLRU buffer's unused memory area. That memory there is plain > wasted at that moment. That's my point and the problem the allocator I > posted tries to solve. > > I fail to see how malloc could help here. malloc() only allocates > process-local memory. My point is that we have the same limitations with malloc()/threads, as we have with shared memory. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера