From: Jaeyong Yoo Subject: Re: [PATCH RFC v2 6/9] xen/arm: Add handling write fault for dirty-page tracing Date: Thu, 04 Jul 2013 16:21:32 +0900 Message-ID: <000701ce7887$1bc77e60$53567b20$%yoo@samsung.com> References: <1372842943-27482-1-git-send-email-jaeyong.yoo@samsung.com> <1372842943-27482-7-git-send-email-jaeyong.yoo@samsung.com> <1372854410.27768.240.camel@zakaz.uk.xensource.com> <003901ce7852$1763c930$462b5b90$%yoo@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <003901ce7852$1763c930$462b5b90$%yoo@samsung.com> Content-language: ko List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: 'Jaeyong Yoo' , 'Ian Campbell' Cc: 'Elena Pyatunina' , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org > > I think we'd want to establish a linear map of the current guest p2m > > for these purposes so we could also avoid all the map_domain_page > > stuff in the fault path. I think there is enough virtual address space > > left for that even on 32-bit, it's less critical on 64-bit anyway > > since we are about to have a direct map of RAM available to us. > > I think it is a good idea to have an ever-mapping linear dirty-bit map for > guest p2m. Maybe between fixmap and frametable? > CTTOI, just mapping to xenheap is enough. Jaeyong