From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [ofa-general] Re: [PATCH][RFC]: pte notifiers -- support for external page tables Date: Wed, 05 Sep 2007 22:32:47 +0300 Message-ID: <46DF045F.4020806@qumranet.com> References: <11890103283456-git-send-email-avi@qumranet.com> <46DEFDF4.5000900@redhat.com> <46DF0013.4060804@qumranet.com> <46DF0234.7090504@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm-devel , linux-mm@kvack.org, linux-kernel@vger.kernel.org, general@lists.openfabrics.org, shaohua.li@intel.com To: Rik van Riel Return-path: In-Reply-To: <46DF0234.7090504@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: general-bounces@lists.openfabrics.org Errors-To: general-bounces@lists.openfabrics.org List-Id: kvm.vger.kernel.org Rik van Riel wrote: >> >> I imagine that many of the paravirt_ops mmu hooks will need to be >> exposed as pte notifiers. This can't be done as part of the >> paravirt_ops code due to the need to pass high level data structures, >> though. > > Wait, I thought that paravirt_ops was all on the side of the > guest kernel, where these host kernel operations are invisible? > It is, but the hooks are in much the same places. It could be argued that you'd embed pte notifiers in paravirt_ops for a host kernel, but that's not doable because pte notifiers use higher-level data strutures (like vmas). -- Any sufficiently difficult bug is indistinguishable from a feature.