<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://homeostasis.scs.carleton.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=Operating_Systems_2017F_Lecture_11</id>
	<title>Operating Systems 2017F Lecture 11 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://homeostasis.scs.carleton.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=Operating_Systems_2017F_Lecture_11"/>
	<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2017F_Lecture_11&amp;action=history"/>
	<updated>2026-06-02T22:28:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2017F_Lecture_11&amp;diff=21111&amp;oldid=prev</id>
		<title>Soma: Created page with &quot;==Video==  Video from the lecture given on October 12, 2017 [http://homeostasis.scs.carleton.ca/~soma/os-2017f/lectures/comp3000-2017f-lec11-12Oct2017.mp4 is now available]....&quot;</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2017F_Lecture_11&amp;diff=21111&amp;oldid=prev"/>
		<updated>2017-10-12T22:19:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Video==  Video from the lecture given on October 12, 2017 [http://homeostasis.scs.carleton.ca/~soma/os-2017f/lectures/comp3000-2017f-lec11-12Oct2017.mp4 is now available]....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Video==&lt;br /&gt;
&lt;br /&gt;
Video from the lecture given on October 12, 2017 [http://homeostasis.scs.carleton.ca/~soma/os-2017f/lectures/comp3000-2017f-lec11-12Oct2017.mp4 is now available].  (I thought there was a recording fail during the lecture but seems that it worked fine.  If there are any glitches let me know!)&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
===In-Class===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Virtual memory&lt;br /&gt;
--------------&lt;br /&gt;
&lt;br /&gt;
every process has a virtual address mapping&lt;br /&gt;
kernel maintains mapping of virtual-&amp;gt;physical memory&lt;br /&gt;
  - these are page tables&lt;br /&gt;
&lt;br /&gt;
accessing page tables in main memory on every memory access&lt;br /&gt;
  - crazy slow&lt;br /&gt;
&lt;br /&gt;
cache of virtual-&amp;gt;physical memory mappings&lt;br /&gt;
&lt;br /&gt;
on every memory access&lt;br /&gt;
 - check the cache for the mapping, use if there (fast)&lt;br /&gt;
 - if not, check the page table (slow)&lt;br /&gt;
&lt;br /&gt;
TLB is the cache of virtual-&amp;gt;physical memory mappings&lt;br /&gt;
 &amp;quot;translation lookaside buffer&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Table:&lt;br /&gt;
  virt prefix -&amp;gt; phys prefix (top 20 bits on 32-bit architectures)&lt;br /&gt;
  - &amp;quot;every&amp;quot; entry is checked in parallel on each access&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
Files from the lecture [http://homeostasis.scs.carleton.ca/~soma/os-2017f/code/lec11/ are available].&lt;/div&gt;</summary>
		<author><name>Soma</name></author>
	</entry>
</feed>