<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://www.osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/7541/Book_Review_Understanding_the_Linux_Virtual_Memory_Manager</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2012, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Wed, 15 Feb 2012 10:07:49 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>Nice review</title>
			<link>http://www.osnews.com/thread?</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?</guid>
			<description>... if not for too many commas.<br />
<br />
Can, you're only a sophomore?  I'm impressed :-)</description>
			<pubDate>Wed, 30 Jun 2004 07:52:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Other VM's</title>
			<link>http://www.osnews.com/thread?</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?</guid>
			<description>As a note for people interresting in VM, the NetBSD paper<br />
about UVM is great reading.<br />
Design and Implementation of UVM:<br />
<a href="http://www.ccrc.wustl.edu/pub/chuck/psgz/diss.ps.gz" rel="nofollow">http://www.ccrc.wustl.edu/pub/chuck/psgz/diss.ps.gz</a></description>
			<pubDate>Wed, 30 Jun 2004 08:25:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Darn... :P</title>
			<link>http://www.osnews.com/thread?</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?</guid>
			<description>I was hopping for an &quot;Understanding the Linux Virtual Memory Manager&quot; article. Guess I should have read the title more closely eh? <img src="/images/emo/wink.gif" alt=";)" /> <br />
<br />
Still, excellent review.</description>
			<pubDate>Wed, 30 Jun 2004 09:07:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Virtual Memory, Virtual Shemomry</title>
			<link>http://www.osnews.com/thread?</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?</guid>
			<description>Let me see if I've got this Virtual Memory thing straight...<br />
<br />
It used to be that the computer copied data from disk to memory, then worked on it, then copied it back to disk again.<br />
<br />
Then the data got really big and wouldn't all fit in memory anymore.  But the computer still wanted to think it was working in memory.<br />
<br />
So now the computer copies data from disk via memory to somewhere else on disk (which it pretends is memory), then copys the bits it needs to works on from the somewhere else on disk to memory, then works on them, then copies those bits back from memory to the somewhere else on disk, then finally copies them back from the somewhere else on disk via memory to the place on disk they were originally.<br />
<br />
Sounds like a game of musical bit-buckets.<br />
<br />
Anyway, 640KiB ought to be enough for anyone.<br />
<br />
-- <br />
James G.</description>
			<pubDate>Wed, 30 Jun 2004 11:03:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>re: Virtual Memory, Virtual Shemomry</title>
			<link>http://www.osnews.com/thread?</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?</guid>
			<description>Well, virtual memory allows you to do what you've said. But VM is much more. It's about presenting virtual memory to appliations. That means applications sees its own address space, and is not to buther with the code/data of other processes or the kernel. i.e. it offers protection. All this is usualy done by an mmu, which must be presented with registers and tables for mapping a memory address on to physical memory,<br />
and that's the hard part, maintaining all these mappings/tables in an efficient way, for all diffent kinds<br />
of usage.<br />
Read the <br />
<a href="http://www.ccrc.wustl.edu/pub/chuck/psgz/diss.ps.gz" rel="nofollow">http://www.ccrc.wustl.edu/pub/chuck/psgz/diss.ps.gz</a>  as mentioned above, it offers insight.<br />
it offer</description>
			<pubDate>Wed, 30 Jun 2004 11:17:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>VMS</title>
			<link>http://www.osnews.com/thread?</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?</guid>
			<description>&quot;of any modern operating system&quot;<br />
<br />
*cough* <br />
appearantly the writer never heard of DEC's uh Digital uh Compaq uhm HP's Virtual Memory System operating system.<br />
as if virtual memory is some kind of new idea.<br />
<br />
the great thing about linux is that it is always in a testing/experimental phase <img src="/images/emo/wink.gif" alt=";)" /></description>
			<pubDate>Wed, 30 Jun 2004 12:29:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: VMS</title>
			<link>http://www.osnews.com/thread?</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?</guid>
			<description>VMS is a modern operating system.  It has only been around since 1979.</description>
			<pubDate>Wed, 30 Jun 2004 14:48:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>@James G</title>
			<link>http://www.osnews.com/thread?</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?</guid>
			<description>So now the computer copies data from disk via memory to somewhere else on disk (which it pretends is memory), then copys the bits it needs to works on from the somewhere else on disk to memory, then works on them, then copies those bits back from memory to the somewhere else on disk, then finally copies them back from the somewhere else on disk via memory to the place on disk they were originally.<br />
<br />
No, in modern VMs, that's not how it works. When you mmap() a file, nothing is loaded into memory. When you touch a page in that mapping, the appropriate data is brought in from disk and put into memory (into the unified VM cache). When memory runs tight, pages from the file that haven't been used in awhile are flushed back to the *same* file. So there is only one location in memory and one location on disk. These days, most VMs do this for *all* file I/O, not just for mmap()'ed regions. When you read 10 bytes from the middle of the file, the whole page is brought in and put into the buffer cache, just as if you'd mmap()'ed it. When you access that region again, the kernel just memcpy()'s the data into the buffer cache. As memory needs to be reused (or the file is closed) those pages are flushed back to the file.</description>
			<pubDate>Wed, 30 Jun 2004 15:33:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>DDR RAM</title>
			<link>http://www.osnews.com/thread?</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?</guid>
			<description>since i inserted LOTS of RAM in this compoooooter 768 (3 256 sticks of DDR) now swap is allways on 0 and never used, it is still there just to keep my computer happy...</description>
			<pubDate>Wed, 30 Jun 2004 17:26:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: VMS</title>
			<link>http://www.osnews.com/thread?</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?</guid>
			<description>I have heard of VMS, and read the original paper describing the VMS VM architecture. Most of the common practices in VM systems actually originated there (e.g. not mapping anything to the first page, and segfaulting when somebody dereferences a null-pointer). What I meant was that in any &quot;modern&quot; operating system, VM is sure to play an important role, sorry about the confusion.<br />
Thanks for all the feedback on the article everyone!</description>
			<pubDate>Sun, 04 Jul 2004 15:36:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>

