Re: Spinlocks, yet again: analysis and proposed patches

Поиск
Список
Период
Сортировка
От Michael Paesold
Тема Re: Spinlocks, yet again: analysis and proposed patches
Дата
Msg-id 023701c5b7cd$f8be31c0$0f01a8c0@zaphod
обсуждение исходный текст
Ответ на Spinlocks, yet again: analysis and proposed patches  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> I probably should have broken down the spindelay patch into multiple
> components.  But it's only a small change --- could you try simplifying
> the patched line
> 
> if ((--spins % MAX_SPINS_PER_DELAY) == 0)
> 
> to
> 
> if (--spins == 0)
> 
> and see how the patch does that way?

I'll do tomorrow morning (CEST, i.e. in about 11 hours).
Best Regards,
Michael Paesold


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Spinlocks, yet again: analysis and proposed patches
Следующее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: counting disk access from index seek operation -- how to?