diff options
author | Alexander Lobakin <[email protected]> | 2021-02-02 13:31:35 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-02-04 18:20:14 -0800 |
commit | a79afa78e625e4dbe0e07c70929d477ba3386e45 (patch) | |
tree | 3d9a4f1ce87582ee194541f71deff27ba1383301 /tools/perf/scripts/python/futex-contention.py | |
parent | bc38f30f8dbce0afb8af05d917bee084b1329418 (diff) |
net: use the new dev_page_is_reusable() instead of private versions
Now we can remove a bunch of identical functions from the drivers and
make them use common dev_page_is_reusable(). All {,un}likely() checks
are omitted since it's already present in this helper.
Also update some comments near the call sites.
Suggested-by: David Rientjes <[email protected]>
Suggested-by: Jakub Kicinski <[email protected]>
Cc: John Hubbard <[email protected]>
Signed-off-by: Alexander Lobakin <[email protected]>
Reviewed-by: Jesse Brandeburg <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions