[PATCH 0/2] Introduce panic function when slub leaks

From: Fangzheng Zhang
Date: Tue Sep 24 2024 - 23:23:37 EST


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.

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 | 76 +++++++++++++++++++

3 files changed, 102 insertions(+)

--
2.17.1