|
@@ -10,8 +10,9 @@
|
|
|
/*
|
|
/*
|
|
|
* Light weight per cpu counter implementation.
|
|
* Light weight per cpu counter implementation.
|
|
|
*
|
|
*
|
|
|
- * Counters should only be incremented and no critical kernel component
|
|
|
|
|
- * should rely on the counter values.
|
|
|
|
|
|
|
+ * Counters should only be incremented. You need to set EMBEDDED
|
|
|
|
|
+ * to disable VM_EVENT_COUNTERS. Things like procps (vmstat,
|
|
|
|
|
+ * top, etc) use /proc/vmstat and depend on these counters.
|
|
|
*
|
|
*
|
|
|
* Counters are handled completely inline. On many platforms the code
|
|
* Counters are handled completely inline. On many platforms the code
|
|
|
* generated will simply be the increment of a global address.
|
|
* generated will simply be the increment of a global address.
|