From: "Yang Shi" <yang.s@alibaba-inc.com>
To: cl@linux.com, penberg@kernel.org, rientjes@google.com,
iamjoonsoo.kim@lge.com, akpm@linux-foundation.org,
mhocko@kernel.org
Cc: Yang Shi <yang.s@alibaba-inc.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [PATCH 3/3] doc: add description for unreclaim_slabs_oom_ratio
Date: Wed, 27 Sep 2017 08:53:36 +0800 [thread overview]
Message-ID: <1506473616-88120-4-git-send-email-yang.s@alibaba-inc.com> (raw)
In-Reply-To: <1506473616-88120-1-git-send-email-yang.s@alibaba-inc.com>
Add the description for unreclaim_slabs_oom_ratio in
Documentation/sysctl/vm.txt.
Signed-off-by: Yang Shi <yang.s@alibaba-inc.com>
---
Documentation/sysctl/vm.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index 9baf66a..29926e3 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -59,6 +59,7 @@ Currently, these files are in /proc/sys/vm:
- stat_interval
- stat_refresh
- swappiness
+- unreclaim_slabs_oom_ratio
- user_reserve_kbytes
- vfs_cache_pressure
- watermark_scale_factor
@@ -804,6 +805,17 @@ The default value is 60.
==============================================================
+unreclaim_slabs_oom_ratio
+
+The percentage of total unreclaimable slabs amount vs all user memory amount
+(LRU pages). When the real ratio is greater than the value, oom killer would
+dump unreclaimable slabs info when kernel panic.
+The range is 0 - 100. 0 means dump unreclaimable slabs info unconditionally.
+
+The default value is 50.
+
+==============================================================
+
- user_reserve_kbytes
When overcommit_memory is set to 2, "never overcommit" mode, reserve
--
1.8.3.1
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2017-09-27 0:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-27 0:53 [PATCH 0/3 v7] oom: capture unreclaimable slab info in oom message when kernel panic Yang Shi
2017-09-27 0:53 ` [PATCH 1/3] tools: slabinfo: add "-U" option to show unreclaimable slabs only Yang Shi
2017-09-27 0:53 ` [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel panic Yang Shi
2017-09-27 7:14 ` Christopher Lameter
2017-09-27 17:21 ` Yang Shi
2017-09-27 21:59 ` Christopher Lameter
2017-09-27 22:11 ` Yang Shi
2017-10-01 6:43 ` Christopher Lameter
2017-10-02 15:44 ` Yang Shi
2017-09-27 10:45 ` Michal Hocko
2017-09-27 17:25 ` Yang Shi
2017-10-02 7:26 ` Michal Hocko
2017-10-02 15:44 ` Yang Shi
2017-09-27 0:53 ` Yang Shi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1506473616-88120-4-git-send-email-yang.s@alibaba-inc.com \
--to=yang.s@alibaba-inc.com \
--cc=akpm@linux-foundation.org \
--cc=cl@linux.com \
--cc=iamjoonsoo.kim@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
--cc=penberg@kernel.org \
--cc=rientjes@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox