Bug 60991
Summary: | [TRIVIAL]Formula of CommitLimit is wrong | ||
---|---|---|---|
Product: | Documentation | Reporter: | sworddragon2 |
Component: | man-pages | Assignee: | documentation_man-pages (documentation_man-pages) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | alan, martink, mtk.manpages, sakshi.april5 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: |
Description
sworddragon2
2013-09-08 16:37:51 UTC
You're right that the documentation is wrong. I've updated the proc(5) man page with the correct formula: CommitLimit = ([total RAM pages] - [total huge TLB pages]) * overcommit_ratio / 100 + [total swap pages] (See the kernel source file fs/proc/meminfo.c.) Hello, I am beginner and would like to fix this bug. Is it still open? Resolved a while ago; should have been closed already. The online documentation does still contain the old formula, does it maybe get always updated at a later time? Which online documentation? You can see the update at http://man7.org/linux/man-pages/man5/proc.5.html I was referring to the link I have posted in the startpost: https://www.kernel.org/doc/Documentation/filesystems/proc.txt I'm still seeing the old formula there. Okay -- sorry, that bug still remains then. Reopening. I lookied into the man pages and the change has been updated there. So we need to make changes in the following file: https://www.kernel.org/doc/Documentation/filesystems/proc.txt Where can I get to download the code for that? I lookied into the man pages and the change has been updated there. So we need to make changes in the following file: https://www.kernel.org/doc/Documentation/filesystems/proc.txt Where can I get to download the code for that? should be closed as I see it. |