]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the way the plex lock mutexes work. Previously they were part
authorGreg Lehey <grog@FreeBSD.org>
Fri, 23 May 2003 01:15:55 +0000 (01:15 +0000)
committerGreg Lehey <grog@FreeBSD.org>
Fri, 23 May 2003 01:15:55 +0000 (01:15 +0000)
commit74f2cc2c9ca27848eb922508a42981f40958399e
tree634872b24457493ba55cec68f5422e39fbb2cf8e
parent93573e2e76402d4a4479db720106ddbe0c7dc68f
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