]> git.michaelhowe.org Git - packages/o/openafs.git/commit
OpenBSD: don't use AFS_GLOBAL_SUNLOCK on single processor system
authorAntoine Verheijen <antoine@ualberta.ca>
Mon, 8 Feb 2010 21:57:51 +0000 (14:57 -0700)
committerDerrick Brashear <shadow@dementia.org>
Tue, 9 Feb 2010 17:21:53 +0000 (09:21 -0800)
commitd23bc2a3969f03d068975170cbbfe4ce274e8c6b
treeed6284c2416b2f1e74d81fbeddd4c945782d1259
parent66470a65e9af601b099189447b0abd8a92b254fa
OpenBSD: don't use AFS_GLOBAL_SUNLOCK on single processor system

Put back the header directives that only turns on AFS_GLOBAL_SUNLOCK
when compiling for multiprocessors system. When enabled on a single
processor OpenBSD system, it is possible to put the entire system
into a lengthy (minutes) lock state when performing multiple AFS
activities. The system behaves MUCH better when AFS_GLOBAL_SUNLOCK
is not set (no problems encopuntered). This whole locking mechanism
needs a bit more examination on OpenBSD before this is useful in
single processor mode.

Change-Id: I19813b78ad8d705b4f043ccb3a38c83e278972e9
Reviewed-on: http://gerrit.openafs.org/1276
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 6219c84243706ed46b922c2e037cceab2684d645)
Change-Id: I9891c469aae9de3ca1b7a334d3f54757c97ddc5f
Reviewed-on: http://gerrit.openafs.org/1257
src/afs/OBSD/osi_machdep.h
src/config/param.i386_obsd44.h
src/config/param.i386_obsd45.h