diff options
author | Eric Dumazet <[email protected]> | 2017-01-20 08:25:34 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-01-23 11:16:27 -0500 |
commit | b9032741e4f86844d8c4a7c18001ee328dae2f7a (patch) | |
tree | 8f4858e51e80ccc51e5f0f586f620b9af344c08a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 41e8c70ee1628a32606bfafd9cfce4f5ae3b5205 (diff) |
bnx2x: avoid two atomic ops per page on x86
Commit 4cace675d687 ("bnx2x: Alloc 4k fragment for each rx ring buffer
element") added extra put_page() and get_page() calls on arches where
PAGE_SIZE=4K like x86
Reorder things to avoid this overhead.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Gabriel Krisman Bertazi <[email protected]>
Cc: Yuval Mintz <[email protected]>
Cc: Ariel Elior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions