diff options
author | Andrey Ryabinin <aryabinin@virtuozzo.com> | 2018-10-26 15:07:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-26 16:26:33 -0700 |
commit | a8dda165ec34fac2b4119654330150e2c896e531 (patch) | |
tree | d681a7f38a1fa52f218da8428731cbe855ae7ac0 /certs/blacklist.h | |
parent | 3ca4ea3a7a78a243ee9edf71a2736bc8fb26d70f (diff) | |
download | blackbird-op-linux-a8dda165ec34fac2b4119654330150e2c896e531.tar.gz blackbird-op-linux-a8dda165ec34fac2b4119654330150e2c896e531.zip |
vfree: add debug might_sleep()
Add might_sleep() call to vfree() to catch potential sleep-in-atomic bugs
earlier.
[aryabinin@virtuozzo.com: drop might_sleep_if() from kvfree()]
Link: http://lkml.kernel.org/r/7e19e4df-b1a6-29bd-9ae7-0266d50bef1d@virtuozzo.com
Link: http://lkml.kernel.org/r/20180914130512.10394-3-aryabinin@virtuozzo.com
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'certs/blacklist.h')
0 files changed, 0 insertions, 0 deletions