aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJonathan Lemon <[email protected]>2019-08-13 10:45:09 -0700
committerDavid S. Miller <[email protected]>2019-08-15 12:27:36 -0700
commit8d73f8f23e6b869b726cb01dd4747f56dc88660a (patch)
treea19e6d1e6829a6106b80e66a2440960cc2a164fa /tools/perf/scripts/python/netdev-times.py
parent4b58c9b127f04bb3eea5a2a9ab8ef039b9fe9b71 (diff)
page_pool: fix logic in __page_pool_get_cached
__page_pool_get_cached() will return NULL when the ring is empty, even if there are pages present in the lookaside cache. It is also possible to refill the cache, and then return a NULL page. Restructure the logic so eliminate both cases. Signed-off-by: Jonathan Lemon <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Acked-by: Ilias Apalodimas <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions