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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx

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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux