linux-mips
[Top] [All Lists]

Possible shared mapping bug in 2.4.23 (at least MIPS/Sparc)

To: linux-mips@linux-mips.org
Subject: Possible shared mapping bug in 2.4.23 (at least MIPS/Sparc)
From: Peter Horton <pdh@colonel-panic.org>
Date: Sat, 13 Dec 2003 11:41:34 +0000
Cc: linux-kernel@vger.kernel.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.3.28i
The current MIPS 2.4 kernel (from CVS) currently allows fixed shared
mappings to violate D-cache aliasing constraints.

The check for illegal fixed mappings is done in
arch_get_unmapped_area(), but these mappings are granted in
get_unmapped_area() and arch_get_unmapped_area() is never called.

A quick look at sparc and sparc64 seem to show the same problem.

P.

<Prev in Thread] Current Thread [Next in Thread>