summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strsignal.c
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2005-08-25 03:47:37 +0000
committertruckman <truckman@FreeBSD.org>2005-08-25 03:47:37 +0000
commitc6df9cec444095b9e8012533baba3de5224e9cdc (patch)
tree2006a483a9fa145c56689d61117107b80534b34e /lib/libc/string/strsignal.c
parentb8c91855f1fad4cf48d1ea06a08c873cf7cd3efb (diff)
downloadFreeBSD-src-c6df9cec444095b9e8012533baba3de5224e9cdc.zip
FreeBSD-src-c6df9cec444095b9e8012533baba3de5224e9cdc.tar.gz
Track all lock relationships instead of pruning direct relationships
if an indirect relationship exists (keep both A->B->C and A->C). This allows witness_checkorder() to use isitmychild() instead of the much more expensive isitmydescendant() to check for valid lock ordering. Don't do an expensive tree walk to update the w_level values when the tree is updated. Only update the w_level values when using the debugger to display the tree. Nuke the experimental "witness_watch > 1" mode that only compared w_level for the two locks. This information is no longer maintained at run time, and the use of isitmychild() in witness_checkorder should bring performance close enough to the acceptable level that this hack is not needed. Report witness data structure allocation statistics under the debug.witness sysctl. Reviewed by: jhb MFC after: 30 days
Diffstat (limited to 'lib/libc/string/strsignal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud