Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Aug 2005 10:12:01 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        current@FreeBSD.org
Cc:        rwatson@FreeBSD.org
Subject:   [PATCH] pcn(4) locking fixes, please test!
Message-ID:  <200508011012.01917.jhb@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
One of my boxes at home has a pcn(4) card in it and I noticed it was still 
running with Giant, so I fixed up the locking in the driver so that it should 
be MP safe now.  However, the box I have is running 5.4 and I didn't get a 
chance to try and run a HEAD kernel on it to see how it fared, so I would 
appreciate it if folks with pcn(4) hardware could test these patches.  The 
first patch fixes up the locking, converts from timeout(9) to callout(9), 
etc. but doesn't actually mark the driver as being MP safe so that the 
locking changes can be tested first while still running the driver under 
Giant.  The second patch marks the driver as MP safe so that it doesn't need 
Giant anymore.

http://people.freebsd.org/~jhb/patches/pcn_locking_fixes.patch
http://people.freebsd.org/~jhb/patches/pcn_mpsafe.patch

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508011012.01917.jhb>