diff options
| author | Uladzislau Rezki (Sony) <[email protected]> | 2022-12-22 20:00:22 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-01-18 17:12:48 -0800 |
| commit | 14687619e1122d71b2ed70e1afa6bc352e629e85 (patch) | |
| tree | 3bf0412778379ed4f562ccd1c416eefe5b90af50 /tools/perf/scripts/python | |
| parent | edd898181e2f6f0969c08e1dfe2b7cdf902b9b33 (diff) | |
mm: vmalloc: replace BUG_ON() by WARN_ON_ONCE()
Currently a vm_unmap_ram() functions triggers a BUG() if an area is not
found. Replace it by the WARN_ON_ONCE() error message and keep machine
alive instead of stopping it.
The worst case is a memory leaking.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Reviewed-by: Lorenzo Stoakes <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Baoquan He <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Oleksiy Avramchenko <[email protected]>
Cc: Roman Gushchin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions