Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2008 15:10:53 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        current@FreeBSD.org
Subject:   [PATCH] MPSAFE/LOOKUP_SHARED cd9660
Message-ID:  <200811191510.53793.jhb@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is a relatively simple patch to mark cd9660 MPSAFE and enable shared 
lookups.  The changes to cd9660_lookup() mirror similar changes to 
ufs_lookup() to use static variables for local data rather than abusing 
i-node members of the parent directory.  I've done some light testing of 
this, but not super-strenuous.  This patch also includes simple locking for 
the iconv support in the kernel.  That locking uses an sx lock to serialize 
open and close of translator tables and the associated refcount.  Actual 
conversions do not need any locks, however as the mount holds a reference on 
the table.

http://www.FreeBSD.org/~jhb/patches/cd9660_mpsafe.patch

-- 
John Baldwin



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