Module Name: src Committed By: jym Date: Thu Feb 25 23:10:49 UTC 2010
Modified Files: src/sys/uvm: uvm_glue.c Log Message: Change RSS (resident set size) limit. Instead of setting it arbitrarily to the total free memory available to the system, use the smallest value between VM_MAXUSER_ADDRESS and total free memory (having a RSS limit bigger than VM_MAXUSER_ADDRESS has no real meaning). Fix a possible int overflow when ptoa(uvmexp.free) is bigger than 4GB with a 32 bits vaddr_t. Reviewed by bou...@. See also http://mail-index.netbsd.org/tech-kern/2010/02/24/msg007395.html To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 src/sys/uvm/uvm_glue.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.