Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44873
b: refs/heads/master
c: 2aea4fb
h: refs/heads/master
i:
  44871: cacdee1
v: v3
  • Loading branch information
Paul Jackson authored and Linus Torvalds committed Dec 22, 2006
1 parent 611208f commit 7585d96
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b76e20b27d20f7cb240e6b1b2dbebaa1b7f9b60
refs/heads/master: 2aea4fb61609ba7ef82f7dc6fca116bda88816e1
5 changes: 3 additions & 2 deletions trunk/include/linux/vmstat.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
/*
* 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
* generated will simply be the increment of a global address.
Expand Down
8 changes: 4 additions & 4 deletions trunk/init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -461,10 +461,10 @@ config VM_EVENT_COUNTERS
default y
bool "Enable VM event counters for /proc/vmstat" if EMBEDDED
help
VM event counters are only needed to for event counts to be
shown. They have no function for the kernel itself. This
option allows the disabling of the VM event counters.
/proc/vmstat will only show page counts.
VM event counters are needed for event counts to be shown.
This option allows the disabling of the VM event counters
on EMBEDDED systems. /proc/vmstat will only show page counts
if VM event counters are disabled.

endmenu # General setup

Expand Down

0 comments on commit 7585d96

Please sign in to comment.