Greg Stark <gsstark(at)mit(dot)edu> writes:
> That's why merely allocating tons of swap doesn't necessarily protect you.
> It's still possible for a process (or several processes if you allocate more
> swap than you have address space) to mmap gigabytes of memory without touching
> it and then start touching those pages.
So? If the swap exists to back that memory, there's no problem. It
might be slow, but it will not fail.
regards, tom lane