[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240925132505.21278-1-fangzheng.zhang@unisoc.com>
Date: Wed, 25 Sep 2024 21:25:03 +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 V2 0/2] Introduce panic function when slub leaks
Hi all,
A method to detect slub leaks by monitoring its usage in real time
on the page allocation path of the slub. When the slub occupancy
exceeds the user-set value, it is considered that the slub is leaking
at this time, and a panic operation will be triggered immediately.
Changes in v2:
- Fix error that unterminated conditional directive
- Avoid using #ifdef when referencing .h in .c files
Changes in v1:
- Add panic function when slub leaks
- Add parameter description for slub_leak_panic function
[1] https://lore.kernel.org/linux-mm/20240925032256.1782-1-fangzheng.zhang@unisoc.com
Fangzheng Zhang (2):
mm/slub: Add panic function when slub leaks
Documentation: admin-guide: kernel-parameters: Add parameter
description for slub_leak_panic function
.../admin-guide/kernel-parameters.txt | 15 ++++
mm/Kconfig | 11 +++
mm/slub.c | 75 +++++++++++++++++++
3 files changed, 101 insertions(+)
--
2.17.1
Powered by blists - more mailing lists