From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Subject: Re: dom0 auto-translate mmap() Date: Mon, 11 Jun 2007 12:50:15 -0500 Message-ID: <1181584215.20281.41.camel@basalt> References: Reply-To: Hollis Blanchard Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-ia64-devel , xen-devel , xen-ppc-devel List-Id: xen-devel@lists.xenproject.org On Mon, 2007-06-11 at 17:57 +0100, Keir Fraser wrote: > > > On 11/6/07 17:51, "Keir Fraser" wrote: > > >> The net is that I would like to remove the above test. I wonder why it > >> was added in the first place? Somebody has a privileged autotranslate > >> domain and mistakenly tried to run the domain building tools? > > > > Interesting. How does this work for ia64 currently? I think ia64 always runs > > in auto-translate mode. > > Oh, I see they have their own mmap function. Yes, I think the test can > safely be removed. Hmm, the ia64 privcmd_mmap() is certainly interesting. It is another approach to the same problem: they explicitly pre-register some of the gpfn space to the appropriate mfn space. Long-term, that's probably a better approach, since it only hijacks gpfn space as needed, rather than halving the physical address space. For the moment though, it also looks like a fair amount of more code... :) -- Hollis Blanchard IBM Linux Technology Center