Re: POSIX question

Поиск
Список
Период
Сортировка
От Florian Weimer
Тема Re: POSIX question
Дата
Msg-id 82ei2oczyz.fsf@mid.bfk.de
обсуждение исходный текст
Ответ на Re: POSIX question  (Florian Pflug <fgp@phlo.org>)
Список pgsql-hackers
* Florian Pflug:

> I think this breaks with strict overcommit settings
> (i.e. vm.overcommit_memory = 2 on linux). To fix that, you'd need a
> way to tell the kernel (or glibc) to simply reserve a chunk of virtual
> address space for further user. Not sure if there's a API for that...

mmap with PROT_NONE and subsequent update with mprotect does this on
Linux.

(It's not clear to me what this is trying to solve, though.)

--
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: pika buildfarm member failure on isolationCheck tests
Следующее
От: Florian Pflug
Дата:
Сообщение: Re: POSIX question