Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 11/18/2006 14:25:39
Module Name: src
Committed By: tsutsui
Date: Sat Nov 18 14:25:39 UTC 2006
Modified Files:
src/sys/arch/mips/mips: pmap.c
src/sys/arch/sh3/sh3: pmap.c
Log Message:
Disable sosend_loan() in sys/kern/uipc_socket.c temporarily on CPUs
which have virtual address indexed cache and whose pmaps don't always
allow normal shared mappings even for read only pages.
In future, these pmaps should be rewritten to handle such read only
shared mappings properly like ARM pmap, but currently we just disable
sosend_loan() to avoid unnecessary uncached mappings and cache flushes
on MIPS3 CPUs, or map/unmap thrashing on SH4.
Discussed with thorpej a while ago.
To generate a diff of this commit:
cvs rdiff -r1.167 -r1.168 src/sys/arch/mips/mips/pmap.c
cvs rdiff -r1.57 -r1.58 src/sys/arch/sh3/sh3/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.