summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_target_zero.c
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2019-12-12 02:15:42 +0000
committerpgoyette <pgoyette@NetBSD.org>2019-12-12 02:15:42 +0000
commitbefa4c1f2d9e4362e78023d5fe0747262a08e9f2 (patch)
tree04cecc40500fd11212e6f60bdb87df53c1653df0 /sys/dev/dm/dm_target_zero.c
parent0ee0dde3e8528f2f5d66656143736886f95b389e (diff)
Rather than keeping a separate mutex, condvar, and pserialize for each
module hook, we can share a common set of synchronization structures. This cuts the amount of cacheline_aligned data for these structures by 50%. Note that we still have a per-hook localcount, since we need to count individual references. As discussed with riastradh@ Welcome to 9.99.22 !
Diffstat (limited to 'sys/dev/dm/dm_target_zero.c')
0 files changed, 0 insertions, 0 deletions