On Wed, Apr 02, 2008 at 01:50:19PM +0200, Andrea Arcangeli wrote: > if (pfn_valid(pfn)) { > page = pfn_to_page(pfn); > if (!PageReserved(page)) { > BUG_ON(page_count(page) != 1); > if (is_writeable_pte(*spte)) > SetPageDirty(page); > if (*spte & PT_ACCESSED_MASK) > mark_page_accessed(page); > } > }
warning the indenting of the above in text-mode was wrong... read it like a c compiler would do sorry ;) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel