dbTalk Databases Forums  

Re: [BUGS] [HACKERS] Spinlock support for linux-hppa?

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] [HACKERS] Spinlock support for linux-hppa? in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] [HACKERS] Spinlock support for linux-hppa? - 01-01-2004 , 12:02 PM






Oliver Elphick <olly (AT) lfix (DOT) co.uk> writes:
Quote:
On Thu, 2004-01-01 at 03:22, Oliver Elphick wrote:
What is needed to provide spinlock support for linux on hppa?
Possibly nothing --- can you try CVS tip? Bruce has already committed
his patch to decouple CPU and OS assumptions there, and I changed the
TAS code to be inline for gcc. AFAICS it should just work.

Quote:
I should add that 7.3.4 built OK.
For sufficiently small values of OK, perhaps so. We didn't complain
about not having spinlocks then.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
  #2  
Old   
Bruce Momjian
 
Posts: n/a

Default Re: [BUGS] [HACKERS] Spinlock support for linux-hppa? - 01-01-2004 , 09:22 PM






Tom Lane wrote:
Quote:
I think it might be possible to develop a localized patch for 7.4 that
only affects linux-hppa and doesn't risk breaking anything else: copy
the slock_t definition for hppa from hpux.h into linux.h and add the
inline'd version of hppa tas() from CVS tip into s_lock.h. But I'm not
particularly interested in working on it at two removes from where any
testing could get done.
I think he also has to modify src/include/port/linux.h to support the HP
processor.

--
Bruce Momjian | http://candle.pha.pa.us
pgman (AT) candle (DOT) 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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
  #3  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] [HACKERS] Spinlock support for linux-hppa? - 01-01-2004 , 09:39 PM



Bruce Momjian <pgman (AT) candle (DOT) pha.pa.us> writes:
Quote:
Tom Lane wrote:
... copy the slock_t definition for hppa from hpux.h into linux.h ...

I think he also has to modify src/include/port/linux.h to support the HP
processor.
That's what I said, I thought.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
  #4  
Old   
Bruce Momjian
 
Posts: n/a

Default Re: [BUGS] [HACKERS] Spinlock support for linux-hppa? - 01-02-2004 , 12:11 AM



Tom Lane wrote:
Quote:
Bruce Momjian <pgman (AT) candle (DOT) pha.pa.us> writes:
Tom Lane wrote:
... copy the slock_t definition for hppa from hpux.h into linux.h ...

I think he also has to modify src/include/port/linux.h to support the HP
processor.

That's what I said, I thought.
Oh, I saw slock_t definition and thought s_lock.h.

--
Bruce Momjian | http://candle.pha.pa.us
pgman (AT) candle (DOT) 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

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
  #5  
Old   
Peter Eisentraut
 
Posts: n/a

Default Re: [BUGS] [HACKERS] Spinlock support for linux-hppa? - 01-04-2004 , 12:54 PM



Oliver Elphick wrote:
Quote:
I can't very easily get cvs tip built on linus-hppa, because I
couldn't make a package of that except for experimental, but
experimental doesn't get processed by the autobuilders.
Time to break out the old configure; make; make install...


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.