| От | Tom Lane |
|---|---|
| Тема | Re: New statistics for WAL buffer dirty writes |
| Дата | |
| Msg-id | 4973.1343765179@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: New statistics for WAL buffer dirty writes (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: New statistics for WAL buffer dirty writes
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> IMHO, the way we have it now is kind of a mess. SpinLockAcquire and
> SpinLockRelease are required to be CPU barriers, but they are not
> required to be compiler barriers. If we changed that so that they
> were required to act as barriers of both flavors,
Since they are macros, how do you propose to do that exactly?
I agree that volatile-izing everything in the vicinity is a sucky
solution, but the last time we looked at this there did not seem to
be a better one.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера