aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHyunmin Lee <[email protected]>2023-02-01 20:51:42 +0900
committerAndrew Morton <[email protected]>2023-02-09 16:51:41 -0800
commit7e4a32c0e8adafdda6161635c9046e6c1e8b95b5 (patch)
treed0ab0ddd9b9bb578bdef139c3bddf023ad421bcb /tools/perf/scripts/python
parent1d693a3e69ba786c6c263d51b8e6d0daf16723ae (diff)
mm/vmalloc: replace BUG_ON with a simple if statement
As per the coding standards, in the event of an abnormal condition that should not occur under normal circumstances, the kernel should attempt recovery and proceed with execution, rather than halting the machine. Specifically, in the alloc_vmap_area() function, use a simple if() instead of using BUG_ON() halting the machine. Link: https://lkml.kernel.org/r/20230201115142.GA7772@min-iamroot Co-developed-by: Gwan-gyeong Mun <[email protected]> Signed-off-by: Gwan-gyeong Mun <[email protected]> Co-developed-by: Jeungwoo Yoo <[email protected]> Signed-off-by: Jeungwoo Yoo <[email protected]> Co-developed-by: Sangyun Kim <[email protected]> Signed-off-by: Sangyun Kim <[email protected]> Signed-off-by: Hyunmin Lee <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> Reviewed-by: Hyeonggon Yoo <[email protected]> Reviewed-by: Mike Rapoport (IBM) <[email protected]> Reviewed-by: Uladzislau Rezki (Sony) <[email protected]> Cc: Hyeonggon Yoo <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions