Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch



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.




Home | Main Index | Thread Index | Old Index