[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240925032256.1782-3-fangzheng.zhang@unisoc.com>
Date: Wed, 25 Sep 2024 11:22:56 +0800
From: Fangzheng Zhang <fangzheng.zhang@...soc.com>
To: Christoph Lameter <cl@...ux.com>, Pekka Enberg <penberg@...nel.org>,
David
Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew
Morton <akpm@...ux-foundation.org>,
Vlastimil Babka <vbabka@...e.cz>,
Roman
Gushchin <roman.gushchin@...ux.dev>,
Hyeonggon Yoo <42.hyeyoo@...il.com>,
Greg KH <gregkh@...uxfoundation.org>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>, <tkjos@...gle.com>,
Fangzheng Zhang <fangzheng.zhang@...soc.com>,
Fangzheng Zhang
<fangzheng.zhang1003@...il.com>,
Yuming Han <yuming.han@...soc.com>
Subject: [PATCH 2/2] Documentation: admin-guide: kernel-parameters: Add parameter description for slub_leak_panic function
Introduce the details of the slub_leak_panic parameters in
kernel-parameters.txt, so that users can understand how to use
the parameters more quickly.
Signed-off-by: Fangzheng Zhang <fangzheng.zhang@...soc.com>
---
Documentation/admin-guide/kernel-parameters.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index bb48ae24ae69..8a672766f05f 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -6130,6 +6130,21 @@
For more information see Documentation/mm/slub.rst.
(slub_nomerge legacy name also accepted for now)
+ slub.leak_panic= [MM, SLUB]
+ Enabling slub.leak_panic can monitor the slub usage
+ in real time on the slub allocation path. When the
+ slub occupancy is abnormal, the alarm or panic will
+ be triggered.
+ Default: N
+
+ slub.leak_panic_threshold= [MM, SLUB]
+ Upper limit value of the slub usage, expressed as
+ a percentage of memtotal. When the usage exceeds
+ the set value (threshold * memtotal / 100), the
+ slub_leak_panic function will be trigger. The
+ value setting range is [0, 100].
+ Default: 0
+
slram= [HW,MTD]
smart2= [HW]
--
2.17.1
Powered by blists - more mailing lists