Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 4 Dec 2001 05:47:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 4 Dec 2001 05:47:02 -0500 Received: from zeus.kernel.org ([204.152.189.113]:1929 "EHLO zeus.kernel.org") by vger.kernel.org with ESMTP id ; Tue, 4 Dec 2001 05:46:52 -0500 Date: Tue, 4 Dec 2001 10:40:47 +0000 From: Russell King To: David Woodhouse Cc: Christoph Rohland , Alan Cox , Maciej Zenczykowski , linux-kernel@vger.kernel.org Subject: Re: [OT] Wrapping memory. Message-ID: <20011204104047.A18147@flint.arm.linux.org.uk> In-Reply-To: <12969.1007315617@redhat.com> <25163.1007370678@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <25163.1007370678@redhat.com>; from dwmw2@infradead.org on Mon, Dec 03, 2001 at 09:11:18AM +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 03, 2001 at 09:11:18AM +0000, David Woodhouse wrote: > ARM used to just break, but I pointed it out to Russell a while ago and I > believe he fixed it. I don't remember what his fix was - it may have been > just to map the offending page uncached, which is also a fairly effective > was of avoiding cache aliasing :) We actually still map the pages as cached, but when update_mmu_cache detects that a page has been mmapped more than once, we ensure that the other mappings in the current mm will fault when accessed. -- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/