Re: SHM_LOCK under Linux ... do we use this?

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: SHM_LOCK under Linux ... do we use this?
Дата
Msg-id
20087.1124317243@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: SHM_LOCK under Linux ... do we use this? "Qingqing Zhou" <zhouqq@cs.toronto.edu>
Re: SHM_LOCK under Linux ... do we use this? Jan Wieck <JanWieck@Yahoo.com>
"Marc G. Fournier"  writes:
>      A privileged user can prevent or allow swapping of a shared memory
>      segment with the following cmds:
>         SHM_LOCK    prevents swapping of a shared memory segment. The user
>                     must fault in any pages that are required to be present
>                     after ...

> I've done a grep through the code, to see if its something that we do use, and
> it doesn't seem to come back with anything ...

No, we don't.  "privileged user" means root, so it's not possible for us
to set that.
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Jim C. Nasby
Дата:
FAQ