From:
Tom Ivar Helbekkmo <tih(at)Hamartun(dot)Priv(dot)NO>
To:
Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc:
scrappy(at)hub(dot)org (The Hermit Hacker), dg(at)illustra(dot)com, dz(at)cs(dot)unitn(dot)it,
hackers(at)postgreSQL(dot)org
Subject:
Re: [HACKERS] Re: [PATCHES] patches for 6.2.1p6
Date:
1998-03-18 21:50:35
Message-ID:
86wwdrekic.fsf@barsoom.Hamartun.Priv.NO (view raw or flat )
Thread:
1998-03-16 03:07:20 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-16 23:27:02 from dg(at)illustra(dot)com (David Gould)
1998-03-17 02:47:57 from The Hermit Hacker <scrappy(at)hub(dot)org>
1998-03-17 03:20:48 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-17 03:46:30 from "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
1998-03-17 03:49:04 from The Hermit Hacker <scrappy(at)hub(dot)org>
1998-03-17 03:54:53 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-17 04:04:23 from dg(at)illustra(dot)com (David Gould)
1998-03-17 04:16:10 from "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
1998-03-17 06:38:14 from dg(at)illustra(dot)com (David Gould)
1998-03-17 07:40:44 from The Hermit Hacker <scrappy(at)hub(dot)org>
1998-03-17 16:45:10 from "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
1998-03-17 04:51:23 from The Hermit Hacker <scrappy(at)hub(dot)org>
1998-03-17 14:20:00 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-20 10:59:01 from Massimo Dal Zotto <dz(at)cs(dot)unitn(dot)it>
1998-03-20 17:06:55 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-20 23:27:52 from The Hermit Hacker <scrappy(at)hub(dot)org>
1998-03-21 01:05:32 from dg(at)illustra(dot)com (David Gould)
1998-03-21 03:40:54 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-22 01:50:12 from Mattias Kregert <matti(at)algonet(dot)se>
1998-03-22 01:33:16 from The Hermit Hacker <scrappy(at)hub(dot)org>
1998-03-22 03:02:56 from dg(at)illustra(dot)com (David Gould)
1998-03-22 04:00:01 from The Hermit Hacker <scrappy(at)hub(dot)org>
1998-03-22 04:03:41 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-22 05:44:50 from The Hermit Hacker <scrappy(at)hub(dot)org>
1998-03-22 03:59:03 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-22 04:01:12 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-22 06:32:15 from Tom <tom(at)sdf(dot)com>
1998-03-20 19:15:47 from dg(at)illustra(dot)com (David Gould)
1998-03-18 21:50:35 from Tom Ivar Helbekkmo <tih(at)Hamartun(dot)Priv(dot)NO>
1998-03-18 23:51:51 from dg(at)illustra(dot)com (David Gould)
1998-03-31 21:20:40 from Tom Ivar Helbekkmo <tih(at)Hamartun(dot)Priv(dot)NO>
1998-04-01 19:56:56 from dg(at)illustra(dot)com (David Gould)
1998-04-02 04:52:33 from Tom Ivar Helbekkmo <tih(at)Hamartun(dot)Priv(dot)NO>
1998-04-02 07:06:36 from dg(at)illustra(dot)com (David Gould)
1998-03-19 02:35:56 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-19 03:24:25 from "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
1998-03-19 04:33:49 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
1998-03-19 17:25:04 from Massimo Dal Zotto <dz(at)cs(dot)unitn(dot)it>
1998-03-19 19:47:10 from Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Lists:
pgsql-hackers
* Bruce Momjian
|
| Just a warning that this is not going to be easy. We have OS-specific
| code for spinlocks in include/storage/s_lock.h and
| backend/storage/buffer/s_lock.c. So each S_LOCK macro call has to have
| its test-and-set logic de-coupled with its while-lock-fail-try-again
| logic. Most of them are easy, but some like VAX:
|
| #define S_LOCK(addr) __asm__("1: bbssi $0,(%0),1b": :"r"(addr))
|
| are hard to de-couple. Now, I did not know we supported NetBSD on VAX.
| Does it work, anyone? Can I remove it?
Yes, it works. No, please don't break it. Heck, I only just got it
in in time for 6.3! :-) The not-so-busy-waiting-spinlock stuff can be
put in on a platform at a time -- I'll expand the VAX version to do
the right thing once someone has done another platform, so I can see
what's the preferred way of doing it.
-tih
--
Popularity is the hallmark of mediocrity. --Niles Crane, "Frasier"
In response to
Responses
pgsql-hackers by date
Next :From: Mattias KregertDate: 1998-03-18 22:29:58
Subject : Timezone problems / HAVE_INT_TIMEZINE
Previous :From : Kent S. GordonDate : 1998-03-18 19:28:44
Subject : Re: [HACKERS] standards question