]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the way the plex lock mutexes work. Previously they were part
authorgrog <grog@FreeBSD.org>
Fri, 23 May 2003 01:15:55 +0000 (01:15 +0000)
committergrog <grog@FreeBSD.org>
Fri, 23 May 2003 01:15:55 +0000 (01:15 +0000)
commit40b279d76093e6ddc4bcd1eecb07a90ccc00467c
tree634872b24457493ba55cec68f5422e39fbb2cf8e
parent835b492a3b17afb1e1c3325023457ce6242b457f
Change the way the plex lock mutexes work.  Previously they were part
of the struct plex, which tore apart the mutex linked lists when the
plex table was expanded.  Now we maintain a pool of mutexes (currently
32) to be shared by all plexes.  This is still a lot better than the
splhigh() method used in other architectures.

expand_table: Add parameters file and line if we're debugging.

Approved by: re (jhb)
sys/dev/vinum/vinumvar.h