diff options
author | Uladzislau Rezki (Sony) <[email protected]> | 2019-07-11 20:59:03 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-07-12 11:05:46 -0700 |
commit | 460e42d19a13d49455c5b269e8e0a1b1d522a895 (patch) | |
tree | 993c113f71022e4b2ed4ca820fd9bb4824de6490 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 54f63d9d8a39118486eb8a7168cda5845240c3d2 (diff) |
mm/vmalloc.c: switch to WARN_ON() and move it under unlink_va()
Trigger a warning if an object that is about to be freed is detached. We
used to have a BUG_ON(), but even though it is considered as faulty
behaviour that is not a good reason to break a system.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Hillf Danton <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Oleksiy Avramchenko <[email protected]>
Cc: Steven Rostedt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions