Re: [HACKERS] Its not my fault. Its SEG's FAULT!

Поиск
Список
Период
Сортировка
От Maurice Gittens
Тема Re: [HACKERS] Its not my fault. Its SEG's FAULT!
Дата
Msg-id 002701bd5eeb$09d7b920$fcf3b2c2@caleb..gits.nl
обсуждение исходный текст
Список pgsql-hackers
>
>No! In GC-like allocation mode I meant to use malloc to allocate
>memory in big chunks (> 8K) and use Last_Allocated_Byte counter for
>each chunk in palloc() to "allocate" memory. pfree will do nothing.
>GC-destroyer will just free a few chunks - without any scans.
>Many GC-storages will be available simultaneously (GC_Storage_Identifier
>will be returned by StartGCAllocation() call and used by EndGCAllocation()
>to free memory in given storage). GC-allocations will be made in current
memory
>context (in term of postgres) ==> code using special memory contexts
>(relation cache etc) will not be affected at all (switching to another
>context will stop GC-allocation untill first context restored)
>as well elog(ERROR) clean up feature.
>
This seems like an effective strategy too me. It also provides a solution
to the 8 byte alignment problem.

With regards from Maurice.



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

Предыдущее
От: "Vadim B. Mikheev"
Дата:
Сообщение: Re: [HACKERS] Its not my fault. Its SEG's FAULT!
Следующее
От: "Vadim B. Mikheev"
Дата:
Сообщение: Re: [HACKERS] Its not my fault. Its SEG's FAULT!