From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: [RFC][PATCH 0/5] Memory merging driver for Linux Date: Wed, 23 Jan 2008 12:05:10 -0500 Message-ID: <20080123120510.4014e382@bree.surriel.com> References: <4794C2E1.8040607@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: andrea-atKUWr5tajBWk0Htik3J/w@public.gmane.org, yaniv-atKUWr5tajBWk0Htik3J/w@public.gmane.org, kvm-devel , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org To: Izik Eidus Return-path: In-Reply-To: <4794C2E1.8040607-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Mon, 21 Jan 2008 18:05:53 +0200 Izik Eidus wrote: > i added 2 new functions to the kernel > one: > page_wrprotect() make the page as read only by setting the ptes point to > it as read only. > second: > replace_page() - replace the pte mapping related to vm area between two > pages How will this work on CPUs with nested paging support, where the CPU does the guest -> physical address translation? (opposed to having shadow page tables) Is it sufficient to mark the page read-only in the guest->physical translation page table? -- All rights reversed. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/