Re: Erroneous PPC spinlock code

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Marcus Meissner <meissner(at)suse(dot)de>
Cc: Reinhard Max <max(at)suse(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Erroneous PPC spinlock code
Date: 2003-11-10 03:29:32
Message-ID: 200311100329.hAA3TWf03814@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marcus Meissner wrote:
-- Start of PGP signed section.
> On Thu, Nov 06, 2003 at 12:08:56AM +0100, Reinhard Max wrote:
> > On Wed, 5 Nov 2003 at 13:28, Tom Lane wrote:
> >
> > > Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > >
> > > > The SuSE PPC guru said that the PPC spinlock code we currently use
> > > > may behave erroneously on multiprocessor systems.
> > >
> > > What's his evidence for that claim?
> >
> > Let's ask himself.
> >
> > > The code we have is based directly on the recommendations in the PPC
> > > manuals, and has been tested on multi-CPU systems.
> >
> > Marcus, can you explain the details, please?
>
> I reviewed the documentation again (at:
> http://www-1.ibm.com/servers/esdd/articles/powerpc.html
> ) and it seems to agree with your opinion.
>
> I retract my comment, leave your code as-is.

Cool. Thanks for checking.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-11-10 04:07:12 Re: Experimental patch for inter-page delay in VACUUM
Previous Message Bruce Momjian 2003-11-10 03:10:47 Re: [HACKERS] BEGIN vs START TRANSACTION