Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/uvm
Module Name: src
Committed By: matt
Date: Thu Sep 1 06:40:28 UTC 2011
Modified Files:
src/sys/uvm: uvm_extern.h uvm_km.c uvm_map.c uvm_pager.c
Log Message:
Forward some UVM from matt-nb5-mips64. Add UVM_KMF_COLORMATCH flag.
When uvm_map gets passed UVM_FLAG_COLORMATCH, the align argument contains
the color of the starting address to be allocated (0..colormask).
When uvm_km_alloc is passed UVM_KMF_COLORMATCH (which can only be used with
UVM_KMF_VAONLY), the align argument contain the color of the starting address
to be allocated.
Change uvm_pagermapin to use this. When mapping user pages in the kernel,
if colormatch is used with the color of the starting user page then the kernel
mapping will be congruent with the existing user mappings.
To generate a diff of this commit:
cvs rdiff -u -r1.175 -r1.176 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.110 -r1.111 src/sys/uvm/uvm_km.c
cvs rdiff -u -r1.303 -r1.304 src/sys/uvm/uvm_map.c
cvs rdiff -u -r1.103 -r1.104 src/sys/uvm/uvm_pager.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