Module Name: src Committed By: rmind Date: Fri Apr 16 03:21:49 UTC 2010
Modified Files: src/sys/kern: kern_synch.c src/sys/sys: sched.h src/sys/uvm: uvm_extern.h uvm_glue.c uvm_meter.c Log Message: - Merge sched_pstats() and uvm_meter()/uvm_loadav(). Avoids double loop through all LWPs and duplicate locking overhead. - Move sched_pstats() from soft-interrupt context to process 0 main loop. Avoids blocking effect on real-time threads. Mostly fixes PR/38792. Note: it might be worth to move the loop above PRI_PGDAEMON. Also, sched_pstats() might be cleaned-up slightly. To generate a diff of this commit: cvs rdiff -u -r1.280 -r1.281 src/sys/kern/kern_synch.c cvs rdiff -u -r1.71 -r1.72 src/sys/sys/sched.h cvs rdiff -u -r1.162 -r1.163 src/sys/uvm/uvm_extern.h cvs rdiff -u -r1.144 -r1.145 src/sys/uvm/uvm_glue.c cvs rdiff -u -r1.51 -r1.52 src/sys/uvm/uvm_meter.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.