On Fri, 25 Nov 2005, Rob Landley uttered the following: > A) mlock would be a bad thing. Not only is it a trivial DOS waiting to > happen > but I like the UML physmem being swapped out under memory pressure. I just > don't want uselessly writing it to disk over and over in the absence of any > memory pressure whatosever to consume all I/O bandwidth to no purpose, which > is the effect when it's not on tmpfs.
Maybe this is a stupid question, but... why do *any* systems other than extremely memory-constrained ones not mount tmpfs on /tmp? It seems to me to have numerous advantages and no disadvantages. In fact, even when you're memory-constrained, if you *have* diskspace that you could spend on /tmp, you can swap to it instead, and spend the space on virtual memory when you're not spending it on /tmp. So, er, why? -- `Y'know, London's nice at this time of year. If you like your cities freezing cold and full of surly gits.' --- David Damerell ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel