Re: [HACKERS] Reorganization of spinlock defines

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Reorganization of spinlock defines
Дата
Msg-id 200309120319.h8C3JpB25619@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Reorganization of spinlock defines  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Reorganization of spinlock defines  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I guess we could splatter a test for Itanium and Opterion in every port
> > that could possibly use it, but then again, if we fall back to not
> > finding it for some reason, we don't get a report because we silently
> > fall back to semaphores.  That's what has me worried, that if we don't
> > do it, we will not know what platforms really aren't working properly.
>
> Agreed, the silent fallback to semaphores isn't such a hot idea in
> hindsight.  But the part of the patch that requires a configure option
> to use that code path could be applied without touching anything else.

Yes, we could do just the configure warning, then plaster tests into the
port files to try to hit all the opteron/itanium cases.  I am a little
concerned that this might throw up a bunch of problem cases that we will
patching for a while.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: [HACKERS] Reorganization of spinlock defines
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Reorganization of spinlock defines