summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2019-07-29 05:53:25 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-29 18:23:40 +0300
commitd659f9f60f6a119654c65bfa58aa6fa762c0824d (patch)
treecd931780d9e38430be6027d36c8034c4372cc014 /tools/perf/scripts/python/event_analyzing_sample.py
parent8e9eee78316037f07fd391ddaef99e9c29b53b4b (diff)
downloadlinux-d659f9f60f6a119654c65bfa58aa6fa762c0824d.tar.xz
net: hns3: change GFP flag during lock period
When allocating memory, the GFP_KERNEL cannot be used during the spin_lock period. This is because it may cause scheduling when holding spin_lock. This patch changes GFP flag to GFP_ATOMIC in this case. Fixes: dd74f815dd41 ("net: hns3: Add support for rule add/delete for flow director") Signed-off-by: Yufeng Mo <moyufeng@huawei.com> Signed-off-by: lipeng 00277521 <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions