aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorFabio M. De Francesco <[email protected]>2022-07-04 16:01:29 +0200
committerTony Nguyen <[email protected]>2022-08-18 08:53:31 -0700
commit03f51719df032637250af828f9a1ffcc5695982d (patch)
tree8479e35c63e4f72e4706d0c99060d2fe44ffa867 /tools/perf/scripts/python/libxed.py
parente34cfee65ec891a319ce79797dda18083af33a76 (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