|
@@ -321,9 +321,12 @@ static inline void mod_state(struct zone *zone,
|
|
|
/*
|
|
|
* The fetching of the stat_threshold is racy. We may apply
|
|
|
* a counter threshold to the wrong the cpu if we get
|
|
|
- * rescheduled while executing here. However, the following
|
|
|
- * will apply the threshold again and therefore bring the
|
|
|
- * counter under the threshold.
|
|
|
+ * rescheduled while executing here. However, the next
|
|
|
+ * counter update will apply the threshold again and
|
|
|
+ * therefore bring the counter under the threshold again.
|
|
|
+ *
|
|
|
+ * Most of the time the thresholds are the same anyways
|
|
|
+ * for all cpus in a zone.
|
|
|
*/
|
|
|
t = this_cpu_read(pcp->stat_threshold);
|
|
|
|