* 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 <fwei...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers