Source-Changes archive

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

CVS commit: [matt-nb5-mips64] src/sys



Module Name:    src
Committed By:   matt
Date:           Wed May 25 23:58:51 UTC 2011

Modified Files:
        src/sys/arch/mips/mips [matt-nb5-mips64]: bus_dma.c
            bus_space_alignstride_chipdep.c cache.c pmap.c vm_machdep.c
        src/sys/kern [matt-nb5-mips64]: kern_malloc_debug.c kern_verifiedexec.c
            sys_pipe.c uipc_socket.c
        src/sys/miscfs/genfs [matt-nb5-mips64]: genfs_io.c
        src/sys/sys [matt-nb5-mips64]: socketvar.h
        src/sys/uvm [matt-nb5-mips64]: uvm_aobj.c uvm_extern.h uvm_fault.c
            uvm_km.c uvm_map.c uvm_page.h uvm_pager.c uvm_pglist.c uvm_vnode.c

Log Message:
Make uvm_map recognize UVM_FLAG_COLORMATCH which tells uvm_map that the
'align' argument specifies the starting color of the KVA range to be returned.

When calling uvm_km_alloc with UVM_KMF_VAONLY, also specify the starting
color of the kva range returned (UMV_KMF_COLORMATCH) and pass those to
uvm_map.

In uvm_pglistalloc, make sure the pages being returned have sequentially
advancing colors (so they can be mapped in a contiguous address range).
Add a few missing UVM_FLAG_COLORMATCH flags to uvm_pagealloc calls.

Make the socket and pipe loan color-safe.

Make the mips pmap enforce strict page color (color(VA) == color(PA)).


To generate a diff of this commit:
cvs rdiff -u -r1.22.16.18 -r1.22.16.19 src/sys/arch/mips/mips/bus_dma.c
cvs rdiff -u -r1.10.18.12 -r1.10.18.13 \
    src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c
cvs rdiff -u -r1.33.96.4 -r1.33.96.5 src/sys/arch/mips/mips/cache.c
cvs rdiff -u -r1.179.16.28 -r1.179.16.29 src/sys/arch/mips/mips/pmap.c
cvs rdiff -u -r1.121.6.1.2.19 -r1.121.6.1.2.20 \
    src/sys/arch/mips/mips/vm_machdep.c
cvs rdiff -u -r1.20 -r1.20.12.1 src/sys/kern/kern_malloc_debug.c
cvs rdiff -u -r1.111.4.1 -r1.111.4.1.4.1 src/sys/kern/kern_verifiedexec.c
cvs rdiff -u -r1.103.4.5 -r1.103.4.5.4.1 src/sys/kern/sys_pipe.c
cvs rdiff -u -r1.177.4.2.2.1.2.1 -r1.177.4.2.2.1.2.2 \
    src/sys/kern/uipc_socket.c
cvs rdiff -u -r1.13.4.2.4.2 -r1.13.4.2.4.3 src/sys/miscfs/genfs/genfs_io.c
cvs rdiff -u -r1.116.4.2 -r1.116.4.2.4.1 src/sys/sys/socketvar.h
cvs rdiff -u -r1.104 -r1.104.10.1 src/sys/uvm/uvm_aobj.c
cvs rdiff -u -r1.148.4.2.4.1 -r1.148.4.2.4.2 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.125.6.1.4.1 -r1.125.6.1.4.2 src/sys/uvm/uvm_fault.c
cvs rdiff -u -r1.101.4.2.4.3 -r1.101.4.2.4.4 src/sys/uvm/uvm_km.c
cvs rdiff -u -r1.263.4.3.4.3 -r1.263.4.3.4.4 src/sys/uvm/uvm_map.c
cvs rdiff -u -r1.55.14.2 -r1.55.14.3 src/sys/uvm/uvm_page.h
cvs rdiff -u -r1.92 -r1.92.18.1 src/sys/uvm/uvm_pager.c
cvs rdiff -u -r1.42.16.6 -r1.42.16.7 src/sys/uvm/uvm_pglist.c
cvs rdiff -u -r1.90 -r1.90.28.1 src/sys/uvm/uvm_vnode.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