<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
>

  <channel rdf:about="http://lwn.net/headlines/266320/">
    <title>LWN: Comments on "Memory management notifiers"</title>
    <link>http://lwn.net/Articles/266320/</link>
    <description>
This is a special feed containing comments posted
to the individual LWN article titled &quot;Memory management notifiers&quot;.

    </description>

    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>2</syn:updateFrequency>
    <items>
      <rdf:Seq>
	<rdf:li resource="http://lwn.net/Articles/267106/rss" />
	<rdf:li resource="http://lwn.net/Articles/266618/rss" />
	<rdf:li resource="http://lwn.net/Articles/266464/rss" />
      
      </rdf:Seq>
    </items>

  </channel>
    <item rdf:about="http://lwn.net/Articles/267106/rss">
      <title>Memory management notifiers</title>
      <link>http://lwn.net/Articles/267106/rss</link>
      <dc:date>2008-01-30T00:49:19+00:00</dc:date>
      <dc:creator>roelofs</dc:creator>
      <description>
      &lt;FONT COLOR=&quot;#008844&quot;&gt;&lt;I&gt;But what the article doesn't say is why a guest kernel would be interested.&lt;/I&gt;&lt;/FONT&gt;

&lt;P&gt;
Seems like primarily a performance issue to me.  If the guest kernel doesn't know when its &quot;RAM&quot; is really swap, it's not going to be able to manage its memory as effectively as it might like.  For example, it might be able to predict memory-usage patterns where the host kernel can't.  Wasn't there a recent article(s) about a patch to do speculative read-in of swapped-out memory, specifically for the use-case where some automated overnight process pushes out OpenOffice/Firefox/etc., causing the user significant delays upon his/her return in the morning?  (Perhaps even one of Con Kolivas' patches?)

&lt;P&gt;
Greg
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/266618/rss">
      <title>Memory management notifiers</title>
      <link>http://lwn.net/Articles/266618/rss</link>
      <dc:date>2008-01-25T20:11:39+00:00</dc:date>
      <dc:creator>giraffedata</dc:creator>
      <description>
      &lt;blockquote&gt;
This would only benefit guest kernels that have been modified to take avantage of it, right?
&lt;/blockquote&gt;
&lt;p&gt;
I think that's obvious in, &quot;The interested code then registers its notifier with:&quot;
&lt;p&gt;
But what the article doesn't say is why a guest kernel would be interested.  It says that because the guest kernel can't know when the host has invalidated a page, the host must never invalidate a page (i.e. keep the memory pinned).  I guess I don't know how KVM works, but I've worked with virtual machines that don't have this issue.

&lt;p&gt;That swapped out page should still be virtually resident.  The guest's page table says so, and, consistent with that, when the guest does a load from its virtual address, the instruction completes without the guest seeing any page fault (because the host takes a page fault, reads the data in, and updates the real page table).

      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/266464/rss">
      <title>Memory management notifiers</title>
      <link>http://lwn.net/Articles/266464/rss</link>
      <dc:date>2008-01-24T18:39:18+00:00</dc:date>
      <dc:creator>bronson</dc:creator>
      <description>
      &lt;div class=&quot;FormattedComment&quot;&gt;&lt;pre&gt;
This would only benefit guest kernels that have been modified to take avantage of it, right?
&lt;/pre&gt;&lt;/div&gt;

      
      </description>
    </item>
</rdf:RDF>

