aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorAnirudh Venkataramanan <[email protected]>2022-09-19 18:09:48 +0000
committerTony Nguyen <[email protected]>2022-11-02 18:09:13 +0000
commit3e7b52e0eb9ef7e67c26072cb1c7a49a5cc356f5 (patch)
treeef2187ebb4275bec555ee3c1d6d5eb3df5eaa969 /drivers/net/ethernet/intel/igc/igc_main.c
parente1000e: Remove unnecessary use of kmap_atomic() (diff)
downloadkernel-3e7b52e0eb9ef7e67c26072cb1c7a49a5cc356f5.tar.gz
kernel-3e7b52e0eb9ef7e67c26072cb1c7a49a5cc356f5.zip
e1000: Remove unnecessary use of kmap_atomic()
buffer_info->rxbuf.page accessed in e1000_clean_jumbo_rx_irq() is allocated using GFP_ATOMIC. Pages allocated with GFP_ATOMIC can't come from highmem and so there's no need to kmap() them. Just use page_address(). I don't have access to a 32-bit system so did some limited testing on qemu (qemu-system-i386 -m 4096 -smp 4 -device e1000e) with a 32-bit Debian 11.04 image. Cc: Ira Weiny <[email protected]> Cc: Fabio M. De Francesco <[email protected]> Cc: Jesse Brandeburg <[email protected]> Cc: Tony Nguyen <[email protected]> Suggested-by: Ira Weiny <[email protected]> Suggested-by: Fabio M. De Francesco <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions