Update stale comment on protecting UMA per-CPU caches: we now use
critical sections rather than mutexes.
This commit is contained in:
parent
68e752c31c
commit
6ab3b958fc
@ -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.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user