]> git.baikalelectronics.ru Git - kernel.git/commit
doc: fix incorrect formula to calculate CommitLimit value
authorPetr Oros <poros@redhat.com>
Thu, 22 May 2014 12:04:44 +0000 (14:04 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 22 May 2014 21:01:55 +0000 (23:01 +0200)
commit5abe7d9d3ff7bbdb7f3ef84ca3c6cb3b4284556d
treee80b0918bec7a76b4262e76900000d83e4cb4304
parent7edd7ae294ab4ff86bc7bdb6201545ddc9f0cbaa
doc: fix incorrect formula to calculate CommitLimit value

The formula to calculate "CommitLimit" value mentioned in kernel documentation is incorrect.
Right formula is: CommitLimit = ([total RAM pages] - [total huge TLB pages]) * overcommit_ratio / 100 + [total swap pages]

Signed-off-by: Petr Oros <poros@redhat.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/filesystems/proc.txt