Re: Change BgWriterCommLock to spinlock

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: Change BgWriterCommLock to spinlock
Дата
Msg-id Pine.LNX.4.58.0601081753190.3054@eon.cs
обсуждение исходный текст
Ответ на Re: Change BgWriterCommLock to spinlock  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Change BgWriterCommLock to spinlock
Список pgsql-patches

On Sun, 8 Jan 2006, Tom Lane wrote:
>
> Why is this a good idea?
>

"In spirit of incremental improvement":
(1) The spinlock itself are light weight than the LWLock here and we can
reduce the lock contention a little bit in AbsorbFsyncRequests();
(2) Don't need the CRITICAL SECTION in AbsorbFsyncRequests() any more;

Regards,
Qingqing

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: [HACKERS] Inconsistent syntax in GRANT
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Change BgWriterCommLock to spinlock