CVSROOT: /cvs Module name: src Changes by: a...@cvs.openbsd.org 2009/03/23 07:25:11
Modified files: sys/arch/amd64/amd64: pmap.c sys/arch/arm/arm: pmap.c sys/kern : kern_fork.c kern_sched.c kern_synch.c sched_bsd.c sys/sys : proc.h sched.h sys/uvm : uvm_meter.c uvm_page.c Log message: Processor affinity for processes. - Split up run queues so that every cpu has one. - Make setrunqueue choose the cpu where we want to make this process runnable (this should be refined and less brutal in the future). - When choosing the cpu where we want to run, make some kind of educated guess where it will be best to run (very naive right now). Other: - Set operations for sets of cpus. - load average calculations per cpu. - sched_is_idle() -> curcpu_is_idle() tested, debugged and prodded by many@