diff options
author | 2018-07-27 16:22:31 +0800 | |
---|---|---|
committer | 2018-08-24 08:52:35 -0700 | |
commit | 374f78f75be98c72876a4d0311b278cd226effba (patch) | |
tree | e64b620cd462a4feff4f6c3028188f99fa14f4dc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | igb: Replace mdelay() with msleep() in igb_integrated_phy_loopback() (diff) | |
download | linux-dev-374f78f75be98c72876a4d0311b278cd226effba.tar.xz linux-dev-374f78f75be98c72876a4d0311b278cd226effba.zip |
ixgbe: Replace GFP_ATOMIC with GFP_KERNEL
ixgbe_fcoe_ddp_setup(), ixgbe_setup_fcoe_ddp_resources() and
ixgbe_sw_init() are never called in atomic context.
They call kmalloc(), dma_pool_alloc() and kzalloc() with GFP_ATOMIC,
which is not necessary.
GFP_ATOMIC can be replaced with GFP_KERNEL.
This is found by a static analysis tool named DCNS written by myself.
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Acked-by: Sebastian Basierski <sebastianx.basierski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions