aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_prof.c
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2007-06-04 23:58:47 +0000
committerJeff Roberson <jeff@FreeBSD.org>2007-06-04 23:58:47 +0000
commita8cdbf449a61645a36419c3ae4f1134fc39d8f8e (patch)
tree908c2d1fadca184aa69166ddb1e74ffcfb391f3c /sys/kern/subr_prof.c
parent1b1618fb125865af900298ff5d5a2c2bb77ecd34 (diff)
downloadsrc-a8cdbf449a61645a36419c3ae4f1134fc39d8f8e.tar.gz
src-a8cdbf449a61645a36419c3ae4f1134fc39d8f8e.zip
Commit 13/14 of sched_lock decomposition.
- Add a new parameter to cpu_switch() that is used to release the lock on the outgoing thread and properly acquire the lock on the incoming thread. This parameter is not required for schedulers that don't do per-cpu locking and architectures which do not support it may continue to use the 4BSD scheduler. This feature is presently not supported on ia64 Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each)
Notes
Notes: svn path=/head/; revision=170306
Diffstat (limited to 'sys/kern/subr_prof.c')
0 files changed, 0 insertions, 0 deletions