aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorPetr Oros <[email protected]>2014-05-22 12:04:44 +0000
committerJiri Kosina <[email protected]>2014-05-22 21:01:55 +0000
commit7a9e6da11c9478741947de3a37ac7de26abd23f0 (patch)
treee80b0918bec7a76b4262e76900000d83e4cb4304 /tools/perf/scripts/python/sctop.py
parentdoc: Note need of bc in the kernel build from 3.10 onwards (diff)
downloadkernel-7a9e6da11c9478741947de3a37ac7de26abd23f0.tar.gz
kernel-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 <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions