Received: by mail.netbsd.org (Postfix, from userid 0) id 2B56663B124; Sat, 28 Nov 2009 11:44:47 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 92D4663B10B for ; Sat, 28 Nov 2009 11:44:45 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 65951175DD; Sat, 28 Nov 2009 11:44:45 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain Date: Sat, 28 Nov 2009 11:44:45 +0000 From: Steve Woodford Subject: CVS commit: src/sys/arch/arm/arm32 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20091128114445.65951175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Module Name: src Committed By: scw Date: Sat Nov 28 11:44:45 UTC 2009 Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: Apply some band-aid to pmap_activate() for PR kern/41058: There's a corner case here which can leave turds in the cache as reported in kern/41058. They're probably left over during tear-down and switching away from an exiting process. Until the root cause is identified and fixed, zap the cache when switching pmaps. This will result in a few unnecessary cache flushes, but that's better than silently corrupting data. Also remove an extraneous return statement in pmap_page_protect() which crept in during the matt-armv6 merge. To generate a diff of this commit: cvs rdiff -u -r1.202 -r1.203 src/sys/arch/arm/arm32/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.