]> git.baikalelectronics.ru Git - kernel.git/commit
kcsan: Use GFP_ATOMIC under spin lock
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 17 Apr 2020 02:58:37 +0000 (02:58 +0000)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 27 Apr 2020 18:10:10 +0000 (11:10 -0700)
commit78149c86ba3204c48a84afff88f05516e7fa229e
treea9934deb29022a7cdb18f3aca9eff7adcb00b80a
parent5513a1f1e5cf4e4b1038152daf16a146c400c39f
kcsan: Use GFP_ATOMIC under spin lock

A spin lock is held in insert_report_filterlist(), so the krealloc()
should use GFP_ATOMIC.  This commit therefore makes this change.

Reviewed-by: Marco Elver <elver@google.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/kcsan/debugfs.c