summaryrefslogtreecommitdiffstats
path: root/sys/dev/sym/sym_hipd.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-12-13 10:33:20 +0000
committerjhb <jhb@FreeBSD.org>2001-12-13 10:33:20 +0000
commit66ac46bd154cfa3d8ca207bfc01035f794a2cad0 (patch)
tree46d810ffb3e04f55297cead7d82b3beb7e7721c4 /sys/dev/sym/sym_hipd.c
parent02911c1b4a09f6798f8a4a40e1fde436c27dd792 (diff)
downloadFreeBSD-src-66ac46bd154cfa3d8ca207bfc01035f794a2cad0.zip
FreeBSD-src-66ac46bd154cfa3d8ca207bfc01035f794a2cad0.tar.gz
Use a per-thread variable for keeping state when a thread is processing
a KTR log entry. Any KTR requests made while working on an entry are ignored/discarded to prevent recursion. This is a better fix for the hack to futz with the CPU mask and call getnanotime() if KTR_LOCK or KTR_WITNESS was on. It also covers the actual formatting of the log entry including dumping it to the display which the earlier hacks did not.
Diffstat (limited to 'sys/dev/sym/sym_hipd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud