diff options
author | Fabio M. De Francesco <[email protected]> | 2022-07-04 16:01:29 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-08-18 08:53:31 -0700 |
commit | 03f51719df032637250af828f9a1ffcc5695982d (patch) | |
tree | 8479e35c63e4f72e4706d0c99060d2fe44ffa867 /tools/perf/scripts/python/libxed.py | |
parent | e34cfee65ec891a319ce79797dda18083af33a76 (diff) |
ixgbe: Don't call kmap() on page allocated with GFP_ATOMIC
Pages allocated with GFP_ATOMIC cannot come from Highmem. This is why
there is no need to call kmap() on them.
Therefore, don't call kmap() on rx_buffer->page() and instead use a
plain page_address() to get the kernel address.
Suggested-by: Ira Weiny <[email protected]>
Suggested-by: Alexander Duyck <[email protected]>
Signed-off-by: Fabio M. De Francesco <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Reviewed-by: Alexander Duyck <[email protected]>
Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions