Requesting 'real' memory
Posted Feb 6, 2008 3:25 UTC (Wed) by giraffedata
In reply to: Requesting 'real' memory
Parent article: Avoiding the OOM killer with mem_notify
I wonder why we still have fork. As innovative as it was, fork was immediately recognized, 30 years ago, as impractical. vfork took most of the pain away, but there is still this memory resource allocation problem, and some others, and fork gives us hardly any value. A fork-and-exec system call would fix all that.
Meanwhile, if you have the kind of system that can't tolerate even an improbable crash, and it has processes with 200M of anonymous virtual memory, putting up an extra 200M of swap space which will probably never be used is a pretty low price for the reliability of guaranteed allocation.
to post comments)