Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 05/02/2001 04:22:21
Module Name: syssrc
Committed By: thorpej
Date: Wed May 2 01:22:20 UTC 2001
Modified Files:
syssrc/sys/uvm: uvm_extern.h uvm_page.c uvm_page.h uvm_param.h
uvm_pglist.h
Log Message:
Support dynamic sizing of the page color bins. We also support
dynamically re-coloring pages; as machine-dependent code discovers
the size of the system's caches, it may call uvm_page_recolor() with
the new number of colors to use. If the new mumber of colors is
smaller (or equal to) the current number of colors, then uvm_page_recolor()
is a no-op.
The system defaults to one bucket if machine-dependent code does not
initialize uvmexp.ncolors before uvm_page_init() is called.
Note that the number of color bins should be initialized to something
reasonable as early as possible -- for many early memory allocations,
we live with the consequences of the page choice for the lifetime of
the boot.
To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 syssrc/sys/uvm/uvm_extern.h
cvs rdiff -r1.59 -r1.60 syssrc/sys/uvm/uvm_page.c
cvs rdiff -r1.23 -r1.24 syssrc/sys/uvm/uvm_page.h
cvs rdiff -r1.8 -r1.9 syssrc/sys/uvm/uvm_param.h
cvs rdiff -r1.2 -r1.3 syssrc/sys/uvm/uvm_pglist.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.