Fix an assertion, vgone() now requires that the vnode be VX locked and refd.
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 19 Oct 2004 09:29:46 +0000 (09:29 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 19 Oct 2004 09:29:46 +0000 (09:29 +0000)
commitcef4846192a5cdf73df1a570f0079188e4235d74
treeb79c72f9dd2ee82d1e3ad80092fc4d8e22e12e9e
parent62d0f1f0a7d811e15a1917fed360e51488c2730d
Fix an assertion, vgone() now requires that the vnode be VX locked and refd.

Replace the pfshead based sequential linked list with a simple hash table,
otherwise linprocfs will bog down when the system has a huge number of
processes.

Assertion-Reported-by: Frank Denis <dragonfly@pureftpd.org>
sys/emulation/linux/i386/linprocfs/linprocfs_subr.c