diff options
author | Petr Oros <poros@redhat.com> | 2014-05-22 14:04:44 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-05-22 23:01:55 +0200 |
commit | 7a9e6da11c9478741947de3a37ac7de26abd23f0 (patch) | |
tree | e80b0918bec7a76b4262e76900000d83e4cb4304 /scripts/recordmcount.h | |
parent | doc: Note need of bc in the kernel build from 3.10 onwards (diff) | |
download | linux-7a9e6da11c9478741947de3a37ac7de26abd23f0.tar.xz linux-7a9e6da11c9478741947de3a37ac7de26abd23f0.zip |
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>
Diffstat (limited to 'scripts/recordmcount.h')
0 files changed, 0 insertions, 0 deletions