diff options
author | jeff <jeff@FreeBSD.org> | 2012-11-15 00:51:57 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2012-11-15 00:51:57 +0000 |
commit | f40f3c3255364f472ec06d9ba5ad0b66f16a6572 (patch) | |
tree | dc9bfdaab60c5892bec647736baab766ea8ee213 /sys/sys/smp.h | |
parent | e8ae50d444598a029ceb39f734aeda3b5ee77521 (diff) | |
download | FreeBSD-src-f40f3c3255364f472ec06d9ba5ad0b66f16a6572.zip FreeBSD-src-f40f3c3255364f472ec06d9ba5ad0b66f16a6572.tar.gz |
- Implement run-time expansion of the KTR buffer via sysctl.
- Implement a function to ensure that all preempted threads have switched
back out at least once. Use this to make sure there are no stale
references to the old ktr_buf or the lock profiling buffers before
updating them.
Reviewed by: marius (sparc64 parts), attilio (earlier patch)
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/sys/smp.h')
-rw-r--r-- | sys/sys/smp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/smp.h b/sys/sys/smp.h index a506669..4abd2ce 100644 --- a/sys/sys/smp.h +++ b/sys/sys/smp.h @@ -167,10 +167,14 @@ int stop_cpus_hard(cpuset_t); #if defined(__amd64__) || defined(__i386__) int suspend_cpus(cpuset_t); #endif + void smp_rendezvous_action(void); extern struct mtx smp_ipi_mtx; #endif /* SMP */ + +int quiesce_all_cpus(const char *, int); +int quiesce_cpus(cpuset_t, const char *, int); void smp_no_rendevous_barrier(void *); void smp_rendezvous(void (*)(void *), void (*)(void *), |