Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2aea4fb6 authored by Paul Jackson's avatar Paul Jackson Committed by Linus Torvalds
Browse files

[PATCH] CONFIG_VM_EVENT_COUNTER comment decrustify



The VM event counters, enabled by CONFIG_VM_EVENT_COUNTERS, which provides
VM event counters in /proc/vmstat, has become more essential to
non-EMBEDDED kernel configurations than they were in the past.  Comments in
the code and the Kconfig configuration explanation were stale, downplaying
their role excessively.

Refresh those comments to correctly reflect the current role of VM event
counters.

Signed-off-by: default avatarPaul Jackson <pj@sgi.com>
Acked-by: default avatarChristoph Lameter <clameter@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0b76e20b
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -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
 * Counters should only be incremented.  You need to set EMBEDDED
 * should rely on the counter values.
 * 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.
+4 −4
Original line number Original line Diff line number Diff line
@@ -461,10 +461,10 @@ config VM_EVENT_COUNTERS
	default y
	default y
	bool "Enable VM event counters for /proc/vmstat" if EMBEDDED
	bool "Enable VM event counters for /proc/vmstat" if EMBEDDED
	help
	help
	  VM event counters are only needed to for event counts to be
	  VM event counters are needed for event counts to be shown.
	  shown. They have no function for the kernel itself. This
	  This option allows the disabling of the VM event counters
	  option allows the disabling of the VM event counters.
	  on EMBEDDED systems.  /proc/vmstat will only show page counts
	  /proc/vmstat will only show page counts.
	  if VM event counters are disabled.


endmenu		# General setup
endmenu		# General setup