diff options
author | Uladzislau Rezki (Sony) | 2019-07-11 20:59:03 -0700 |
---|---|---|
committer | Linus Torvalds | 2019-07-12 11:05:46 -0700 |
commit | 460e42d19a13d49455c5b269e8e0a1b1d522a895 (patch) | |
tree | 993c113f71022e4b2ed4ca820fd9bb4824de6490 /crypto/internal.h | |
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/20190606120411.8298-5-urezki@gmail.com
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Cc: Roman Gushchin <guro@fb.com>
Cc: Hillf Danton <hdanton@sina.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Oleksiy Avramchenko <oleksiy.avramchenko@sonymobile.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/internal.h')
0 files changed, 0 insertions, 0 deletions