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_at_FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.orgReceived on Mon Aug 01 2005 - 12:11:32 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC