summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-04-10 23:23:49 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-05 07:37:36 -0400
commitfbfb3a75bd52249bbbbfe6e91b420cf2ae135ad5 (patch)
treec31b857780bc2adbc86e2929f81975a8c9ff489a /tools/perf/scripts/python/bin/stackcollapse-record
parent5ebaf32866b649cc4e384725ce2742d705c064e6 (diff)
downloadlinux-fbfb3a75bd52249bbbbfe6e91b420cf2ae135ad5.tar.gz
linux-fbfb3a75bd52249bbbbfe6e91b420cf2ae135ad5.zip
media: dvb-usb: Replace GFP_ATOMIC with GFP_KERNEL
Despite never getting called from atomic context, usb URB memory allocations use GFP_ATOMIC, which does not sleep for allocation. GFP_ATOMIC is not necessary and can be replaced with GFP_KERNEL, which can sleep and improve the possibility of sucessful allocation. This is found by a static analysis tool named DCNS written by myself. And I also manually check it. [mchehab+samsung@kernel.org: merged 3 similar patches into one] Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions