Update stale comment on protecting UMA per-CPU caches: we now use

critical sections rather than mutexes.
This commit is contained in:
Robert Watson 2007-05-09 22:53:34 +00:00
parent 68e752c31c
commit 6ab3b958fc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169431

View File

@ -75,13 +75,13 @@
* pair, as well as with its own set of small per-CPU caches, layered above
* the Zone's general Bucket cache.
*
* The PCPU caches are protected by their own locks, while the Zones backed
* by the same Keg all share a common Keg lock (to coalesce contention on
* the backing slabs). The backing Keg typically only serves one Zone but
* in the case of multiple Zones, one of the Zones is considered the
* Master Zone and all Zone-related stats from the Keg are done in the
* Master Zone. For an example of a Multi-Zone setup, refer to the
* Mbuf allocation code.
* The PCPU caches are protected by critical sections, and may be accessed
* safely only from their associated CPU, while the Zones backed by the same
* Keg all share a common Keg lock (to coalesce contention on the backing
* slabs). The backing Keg typically only serves one Zone but in the case of
* multiple Zones, one of the Zones is considered the Master Zone and all
* Zone-related stats from the Keg are done in the Master Zone. For an
* example of a Multi-Zone setup, refer to the Mbuf allocation code.
*/
/*