| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Fix a few problems in barrier.h. |
| Дата | |
| Msg-id | 27977.1374118250@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: pgsql: Fix a few problems in barrier.h. (Robert Haas <robertmhaas@gmail.com>) |
| Список | pgsql-committers |
Robert Haas <robertmhaas@gmail.com> writes: > According to http://en.wikipedia.org/wiki/Memory_ordering, PA-RISC has > weak memory ordering. BTW, so far as I can see, their reference for that claim is the two articles by Paul McKenney; but what McKenney actually says is Although the PA-RISC architecture permits full reordering of loads and stores, actual CPUs run fully ordered. This means the Linux kernel's memory-ordering primitives generate no code; they do, however, use the GCC memory attribute to disable compiler optimizations that would reorder code across the memory barrier. So the committed patch duplicates what the kernel does (unless someone cares to dig into the kernel and show otherwise). regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера