Re: [PATCH] Documentation: incorrect formula to calculate CommitLimit value

2014-05-22 Thread Randy Dunlap
On 05/22/2014 05:04 AM, Petr Oros wrote: > 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

[PATCH] Documentation: incorrect formula to calculate CommitLimit value

2014-05-22 Thread Petr Oros
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 --- Documentation/filesystems/proc.txt | 3 ++- 1 fil