On Wed, Apr 23, 2014 at 9:06 AM, Marc Espie <[email protected]> wrote: > On Tue, Apr 22, 2014 at 05:11:35PM -0500, Shawn K. Quinn wrote: > > Also, it should be noted tmpfs allocates the entire amount of memory > > available by default. > > Nope. Your wording is incorrect. mfs *reserves* memory. tmpfs doesn't. > If you want to put limits on it, you can use parameters to mount to make > sure you limit the memory used. Otherwise, it is unlimited, and interacts > with uvm. Note that the rest of the system is unlimited by default either. > If you run enough processes that allocate memory, you will run uvm out of > memory as well... >
Running out of memory for uvm and having just message about it on console or in log is boring. We need to implement Oom-killer. That's real fun for real men. Killing randomly processes to free up RAM. Including stuff like init after that everything is free :D

