<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.kerneltrap.org"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>KernelTrap - vm</title>
 <link>http://www.kerneltrap.org/taxonomy/term/456/0</link>
 <description></description>
 <language>en-local</language>
<item>
 <title>Linux: 2.6.34-rc4, &quot;Hunting A Really Annoying VM Regression&quot;</title>
 <link>http://www.kerneltrap.org/Linux/2.6.34-rc4_Hunting_A_Really_Annoying_VM_Regression</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;em&gt;It&#039;s been two weeks rather than the usual one, because we&#039;ve been hunting a really annoying VM regression that not a lot of people seem to have seen, but I didn&#039;t want to release an -rc4 with it,&lt;/em&gt;&quot; &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2010/4/13/4558076&quot;&gt;began Linux creator Linus Torvalds&lt;/a&gt;, announcing the &lt;a href=&quot;http://kerneltrap.org/mailarchive/git-commits-head/2010/4/13/31838&quot;&gt;2.6.34-rc4&lt;/a&gt; Linux kernel.  He explained, &quot;&lt;i&gt;we had the choice of either reverting all the anon-vma scalability improvements, or finding out exactly what caused the regression and fixing it.  And we got pretty close to the point where I was going to just revert it all.&lt;/i&gt;&quot;  Linus continued:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;Absolutely _huge_ kudos to Borislav Petkov who reported the problem and was able to not just reliably reproduce it, but also test new patches to try to narrow things down at a moments notice. The thing took ten days of emails flying back and forth, and Borislav was there all the time, day and night, through several patches that tried to fix it (several real bugs, but not the one he hit) and lots of patches to just add instrumentation to get us nearer to the cause of the problem.  And finally, today, confirmation that we actually nailed the problem. So  if anybody has been seeing a oops (or sometimes a GP fault) in  page_referenced(), that should be gone now.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;As for the rest of the changes, Linus noted, &quot;&lt;em&gt;the bulk of the changes come from drivers - a new network driver (cxgb4), but also updates to the radeon and nouveau drivers.  And then there is the random updates everywhere.&lt;/em&gt;&quot;  Read on for the full changelog.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/Linux/2.6.34-rc4_Hunting_A_Really_Annoying_VM_Regression&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/Linux/2.6.34-rc4_Hunting_A_Really_Annoying_VM_Regression#comments</comments>
 <category domain="http://www.kerneltrap.org/-rc">-rc</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/539">-rc4</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/4263">2.6.34</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/4253">Borislav Petkov</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/4273">cxgb4</category>
 <category domain="http://www.kerneltrap.org/Linus_Torvalds">Linus Torvalds</category>
 <category domain="http://www.kerneltrap.org/Linux">Linux</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/4293">nouveau</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/4283">radeon</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/278">regressions</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/456">vm</category>
 <category domain="http://www.kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Tue, 13 Apr 2010 05:16:30 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">56443 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>Quote: Total Morons When It Comes To VM</title>
 <link>http://www.kerneltrap.org/Quote/Total_Morons_When_It_Comes_To_VM</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;I realize that getting the POWER people to accept that they have been total morons when it comes to VM for the last three decades is hard, but somebody in the POWER hardware design camp should (a) be told and (b) be really ashamed of themselves.&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;</description>
 <comments>http://www.kerneltrap.org/Quote/Total_Morons_When_It_Comes_To_VM#comments</comments>
 <category domain="http://www.kerneltrap.org/Linus_Torvalds">Linus Torvalds</category>
 <category domain="http://www.kerneltrap.org/Linux">Linux</category>
 <category domain="http://www.kerneltrap.org/quote">quote</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/456">vm</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/1092">Linus Torvalds</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/1094">linux-kernel</category>
 <pubDate>Thu, 27 Mar 2008 01:31:34 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">15865 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>Quote: The VM Is Hard</title>
 <link>http://www.kerneltrap.org/Quote/The_VM_Is_Hard</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;Yes, the VM is hard. I agree. It&#039;s nasty. But exactly because it&#039;s nasty and subtle and horrid, I&#039;m also very anal about it, and I get really nervous when somebody touches it without (a) knowing all the rules intimately and (b) listening to people who do.&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;</description>
 <comments>http://www.kerneltrap.org/Quote/The_VM_Is_Hard#comments</comments>
 <category domain="http://www.kerneltrap.org/Linus_Torvalds">Linus Torvalds</category>
 <category domain="http://www.kerneltrap.org/Linux">Linux</category>
 <category domain="http://www.kerneltrap.org/quote">quote</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/456">vm</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/1092">Linus Torvalds</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/1094">linux-kernel</category>
 <pubDate>Wed, 23 Jan 2008 23:15:58 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">15324 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>NetBSD Summer of Code Summary</title>
 <link>http://www.kerneltrap.org/NetBSD/Summer_of_Code_Summary</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/netbsd&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-NetBSD_0.gif&quot; alt=&quot;NetBSD news&quot; title=&quot;NetBSD news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Mark Weinem offered a summary of NetBSD&#039;s six &lt;a href=&quot;http://kerneltrap.org/mailarchive/netbsd-announce/2007/10/8/332728&quot;&gt;2007 Summer of Code development projects&lt;/a&gt;.  The projects included:  the Automated Testing Framework, &quot;&lt;i&gt;the goal of the ATF project was to develop a testing framework to easily define test cases and run them in a completely automated way&lt;/i&gt;&quot;; porting ZFS, &quot;&lt;i&gt;the primary goal of this project was to port volume emulation (ZVOL) functionality in order to mount ZFS file systems&lt;/i&gt;&quot;; QoS framework for NetBSD&#039;s virtual memory system, &quot;&lt;i&gt;for delay sensitive systems such as streaming multimedia servers and back-end database systems, servicing the reader processes in a timely fashion is more important than the servicing the writers&lt;/i&gt;&quot;; kernel file systems in userspace, as a result of the project, &quot;&lt;i&gt;almost all NetBSD kernel file systems can be compiled, mounted and run in userspace&lt;/i&gt;&quot;; and hardware monitoring, &quot;&lt;i&gt;the aim of this project was to develop a kernel event notification framework to notify userland of hardware changes e.g. a new USB device being added&lt;/i&gt;&quot;.  Mark added:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;NetBSD has been involved in the Google Summer of Code since its conception in 2005. This year we were glad to once again have the oppertunity to introduce six students to our operating system, to Open Source software development and get them sponsored by Google to work on projects defined by the NetBSD developers.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/NetBSD/Summer_of_Code_Summary&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/NetBSD/Summer_of_Code_Summary#comments</comments>
 <category domain="http://www.kerneltrap.org/BSD">BSD</category>
 <category domain="http://www.kerneltrap.org/filesystem">filesystem</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/1055">Mark Weinem</category>
 <category domain="http://www.kerneltrap.org/NetBSD">NetBSD</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/1007">QoS</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/958">Summer of Code</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/456">vm</category>
 <category domain="http://www.kerneltrap.org/ZFS">ZFS</category>
 <category domain="http://www.kerneltrap.org/news/netbsd">NetBSD news</category>
 <pubDate>Tue, 09 Oct 2007 11:22:56 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14540 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>Avoiding Unnecessary Delays</title>
 <link>http://www.kerneltrap.org/Linux/Avoiding_Unnecessary_Delays</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;We don&#039;t want to introduce pointless delays in throttle_vm_writeout() when the writeback limits are not yet exceeded, do we?&lt;/i&gt;&quot; asked Fengguang Wu as &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/9/26/323479&quot;&gt;the description of his patch to &lt;code&gt;mm/page-writeback.c&lt;/code&gt;&lt;/a&gt;.  Andrew Morton replied, &quot;&lt;i&gt;this is a pretty major bugfix,&lt;/i&gt; explaining, &quot;&lt;i&gt;this patch has the potential to significantly alter the dynamics of the VM behaviour under particular workloads.  It might turn up other stuff...&lt;/i&gt;&quot;  He continued:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;I wonder why nobody noticed this happening.  Either a) it turns out that kswapd is doing a good job and such callers don&#039;t do direct reclaim much or b) nobody is doing any in-depth kernel instrumentation.&lt;/p&gt;
&lt;p&gt;&quot;Now, how _would_ one notice this problem?  We don&#039;t have very good tools, really.  Booting with &quot;profile=sleep&quot; and looking at the profile data would be one way.  Repeatedly doing sysrq-T is another.  Perhaps the new lockstat-via-lockdep code would allow this to be observed in some fashion, dunno.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://www.kerneltrap.org/Linux/Avoiding_Unnecessary_Delays&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.kerneltrap.org/Linux/Avoiding_Unnecessary_Delays#comments</comments>
 <category domain="http://www.kerneltrap.org/Andrew_Morton">Andrew Morton</category>
 <category domain="http://www.kerneltrap.org/bugs">bugs</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/1010">Fengguang Wu</category>
 <category domain="http://www.kerneltrap.org/Linux">Linux</category>
 <category domain="http://www.kerneltrap.org/taxonomy/term/456">vm</category>
 <category domain="http://www.kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Fri, 28 Sep 2007 00:21:10 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14472 at http://www.kerneltrap.org</guid>
</item>
<item>
 <title>Linux:  Page Replacement Requirements</title>
 <link>http://www.kerneltrap.org/node/7736</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Rik van Riel [&lt;a href=&quot;http://kerneltrap.org/node/view/46&quot;&gt;interview&lt;/a&gt;] posted some thoughts on the page replacement requirements of the Linux VM, noting that the same kinds of bugs have been getting fixed and reintroduced over the past few years, &quot;&lt;i&gt;this has convinced me that it is time to take a look at the actual requirements of a page replacement mechanism, so we can try to fix things without reintroducing other bugs.  Understanding what is going on should also help us deal better with really large memory systems.&lt;/i&gt;&quot;  He added his thoughts from this email to the &lt;a href=&quot;http://linux-mm.org/PageReplacementRequirements&quot;&gt;linux-mm wiki&lt;/a&gt;, which he plans to update as new requirements s