From owner-freebsd-arm@FreeBSD.ORG Fri Dec 19 16:48:47 2008 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CBC91065677; Fri, 19 Dec 2008 16:48:47 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id D71268FC1B; Fri, 19 Dec 2008 16:48:46 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mBJGlSnk031441; Fri, 19 Dec 2008 09:47:28 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 19 Dec 2008 09:47:32 -0700 (MST) Message-Id: <20081219.094732.461359941.imp@bsdimp.com> To: gjb@semihalf.com From: "M. Warner Losh" In-Reply-To: <494BAA90.7000801@semihalf.com> References: <494BAA90.7000801@semihalf.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: arm@FreeBSD.org, embedded@FreeBSD.org Subject: Re: Multiple virtual mappings considered harmful on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2008 16:48:47 -0000 In message: <494BAA90.7000801@semihalf.com> Grzegorz Bernacki writes: : 2. Root cause. ... : So we end up with at least two virtual addresses for each page. ... : 4. More general solution. : This is the second time we indentified a problem of the same nature related to : multiple virtual mapping on ARM, and are wondering about some more general : solution that would prevent us from such problems (very subtle and hard to : nail down) in the future. We were thinking at least about an extension to : DIAGNOSTIC that would detect such attempts or so. Any other suggestions or : comments welcome. I think this is an excellent idea. MIPS will need this too, since it too suffers from the virtual aliasing problem. Warner