Re: Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8
От
Jayashankar K B
Тема
Re: Re: [PERFORM] Disable-spinlocks while compiling
postgres 9.1 for ARM Cortex A8
Дата
Msg-id
1365276B7BDA4C40A519F0B4088230B309711198@POCITMSEXMB03.LntUniverse.com
Ответ на
Список
Дерево обсуждения
Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8 Jayashankar K B <Jayashankar.KB@lnties.com>
Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8 Tom Lane <tgl@sss.pgh.pa.us>
Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for
ARM Cortex A8 Jayashankar K B <Jayashankar.KB@lnties.com>
Re: Re: [PERFORM] Disable-spinlocks while compiling
postgres 9.1 for ARM Cortex A8 Merlin Moncure <mmoncure@gmail.com>
Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for
ARM Cortex A8 Jayashankar K B <Jayashankar.KB@lnties.com>
Re: Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8 Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [PERFORM] Disable-spinlocks while compiling
postgres 9.1 for ARM Cortex A8 Jayashankar K B <Jayashankar.KB@lnties.com>
Re: Re: [PERFORM] Disable-spinlocks while compiling
postgres 9.1 for ARM Cortex A8 Merlin Moncure <mmoncure@gmail.com>
Ok. I did a manual patch and it Postgres 9.1.1 compiled for me without using the --disable-spinlocks option.
Thanks a lot for the patch. :)
By the way, could you please point me to the explanation on the significance of spinlocks for Postgres?
Thanks and Regards
Jayashankar
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: 25 February 2012 PM 12:54
To: Jayashankar K B
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8
Jayashankar K B writes:
> I tried to apply the patch. I succeeded in patching configure, configure.in and src/include/pg_config.h.in files.
> But while applying the patch for src/include/storage/s_lock.h , I am getting an error.
That patch should apply exactly to 9.1.0 or later. I think either you messed up copying the patch from the web page (note that patch is not forgiving about white space...) or else perhaps fooling with the file names messed it up. You shouldn't have to modify the file taken from the "patch" link at all. The right way to do it is to cd into the top source directory and use
patch -p1 В списке pgsql-general по дате отправления
От: Dave Potts
Дата: