summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorHyesoo Yu <hyesoo.yu@samsung.com>2025-02-26 17:12:01 +0900
committerVlastimil Babka <vbabka@suse.cz>2025-03-04 08:53:50 +0100
commit3f6f32b14ab35452d2ed52f7821cf2829923c98d (patch)
treefe78642bca88ae058b2e221a908a9497e5207da4 /tools/perf/scripts/python/syscall-counts.py
parented5ec2e952595a469eae1f6dce040737359b6da2 (diff)
mm: slub: call WARN() when detecting a slab corruption
If a slab object is corrupted or an error occurs in its internal validation, continuing after restoration may cause other side effects. At this point, it is difficult to debug because the problem occurred in the past. It is useful to use WARN() to catch errors at the point of issue because WARN() could trigger panic for system debugging when panic_on_warn is enabled. WARN() is added where to detect the error on slab_err and object_err. It makes sense to only do the WARN() after printing the logs. slab_err is splited to __slab_err that calls the WARN() and it is called after printing logs. Signed-off-by: Hyesoo Yu <hyesoo.yu@samsung.com> Reviewed-by: Harry Yoo <harry.yoo@oracle.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions