Re: Using WaitEventSet in the postmaster

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: Using WaitEventSet in the postmaster
Дата
Msg-id
20221206231230.3vwxd5dfc3gkf4vl@awork3.anarazel.de
Ответ на
Список
Дерево обсуждения
Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Andres Freund <andres@anarazel.de>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Andres Freund <andres@anarazel.de>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Andres Freund <andres@anarazel.de>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Andres Freund <andres@anarazel.de>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Andres Freund <andres@anarazel.de>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Andres Freund <andres@anarazel.de>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Tom Lane <tgl@sss.pgh.pa.us>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Andres Freund <andres@anarazel.de>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
Re: Using WaitEventSet in the postmaster Andres Freund <andres@anarazel.de>
Re: Using WaitEventSet in the postmaster Tom Lane <tgl@sss.pgh.pa.us>
Re: Using WaitEventSet in the postmaster Justin Pryzby <pryzby@telsasoft.com>
Re: Using WaitEventSet in the postmaster Thomas Munro <thomas.munro@gmail.com>
On 2022-12-07 00:58:06 +1300, Thomas Munro wrote:
> One way to fix that for the epoll version is to EPOLL_CTL_DEL and
> EPOLL_CTL_ADD, whenever transitioning to/from a zero event mask.
> Tried like that in this version.  Another approach would be to
> (finally) write DeleteWaitEvent() to do the same thing at a higher
> level... seems overkill for this.

What about just recreating the WES during crash restart?


> > This seems to hardcode the specific wait events we're waiting for based on
> > latch.c infrastructure. Not really convinced that's a good idea.
>
> What are you objecting to?  The assumption that the first socket is at
> position 1?  The use of GetNumRegisteredWaitEvents()?

The latter.


В списке pgsql-hackers по дате отправления
От: Pavel Borisov
Дата:
От: Andres Freund
Дата:
FAQ