Dear Maintainer, The purpose is to improve the debugging capabilities of the slub allocator when a error occurs. The following improvements have been made: - Added WARN() calls at specific locations (slab_err, object_err) to detect errors effectively and to generate a crash dump if panic_on_warn is enabled. - Additionally, the printing location in check_object has been adjusted to display the broken data before the restoration process. This improvement allows for a better understanding of how the data was corrupted. This series combines two patches that were discussed seperately in the links below. https://lore.kernel.org/linux-mm/20250120082908.4162780-1-hyesoo.yu@xxxxxxxxxxx/ https://lore.kernel.org/linux-mm/20250120083023.4162932-1-hyesoo.yu@xxxxxxxxxxx/ Thanks you. version 2 changes - Used WARN() to trigger a panic instead of direct calling of BUG_ON() - Print the broken data only once before the restore. version 3 changes - Move WARN() from slab_fix to slab_err and object to call WARN on all error reporting paths. - Change the parameter t ype of check_bytes_and_report. Hyesoo Yu (2): mm: slub: Print the broken data before restoring slub. mm: slub: call WARN() when the slab detect an error mm/slub.c | 60 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 27 deletions(-) -- 2.28.0