From 6ab3b958fcdb7eaf3ad5d34b84854c6fecd47b00 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Wed, 9 May 2007 22:53:34 +0000 Subject: [PATCH] Update stale comment on protecting UMA per-CPU caches: we now use critical sections rather than mutexes. --- sys/vm/uma_int.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h index 6e8620662f2..c4ea69c456d 100644 --- a/sys/vm/uma_int.h +++ b/sys/vm/uma_int.h @@ -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. */ /*