Commit 46496022 authored by Minto Joseph's avatar Minto Joseph Committed by Linus Torvalds

Documentation/filesystems/proc.txt: fix mistake in the description of Committed_AS

Fix mistake in the description of Committed_AS in kernel documentation.
Signed-off-by: default avatarMinto Joseph <mvaliyav@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent be49b30a
...@@ -854,16 +854,15 @@ Committed_AS: The amount of memory presently allocated on the system. ...@@ -854,16 +854,15 @@ Committed_AS: The amount of memory presently allocated on the system.
The committed memory is a sum of all of the memory which The committed memory is a sum of all of the memory which
has been allocated by processes, even if it has not been has been allocated by processes, even if it has not been
"used" by them as of yet. A process which malloc()'s 1G "used" by them as of yet. A process which malloc()'s 1G
of memory, but only touches 300M of it will only show up of memory, but only touches 300M of it will show up as
as using 300M of memory even if it has the address space using 1G. This 1G is memory which has been "committed" to
allocated for the entire 1G. This 1G is memory which has by the VM and can be used at any time by the allocating
been "committed" to by the VM and can be used at any time application. With strict overcommit enabled on the system
by the allocating application. With strict overcommit (mode 2 in 'vm.overcommit_memory'),allocations which would
enabled on the system (mode 2 in 'vm.overcommit_memory'), exceed the CommitLimit (detailed above) will not be permitted.
allocations which would exceed the CommitLimit (detailed This is useful if one needs to guarantee that processes will
above) will not be permitted. This is useful if one needs not fail due to lack of memory once that memory has been
to guarantee that processes will not fail due to lack of successfully allocated.
memory once that memory has been successfully allocated.
VmallocTotal: total size of vmalloc memory area VmallocTotal: total size of vmalloc memory area
VmallocUsed: amount of vmalloc area which is used VmallocUsed: amount of vmalloc area which is used
VmallocChunk: largest contiguous block of vmalloc area which is free VmallocChunk: largest contiguous block of vmalloc area which is free
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment