diff options
| author | Benjamin Poirier <[email protected]> | 2019-09-27 19:12:09 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-10-04 17:17:47 +0200 |
| commit | aec626d2092f2b203f4acec5b57ed7c1e3095802 (patch) | |
| tree | 857cf80d3311e878fa2e0d705a697421b6c7d55b /tools/perf/scripts/python | |
| parent | c8c1ff5c19021a241afa78d1272c23ef7e7297aa (diff) | |
staging: qlge: Update buffer queue prod index despite oom
Currently, if we repeatedly fail to allocate all of the buffers from the
desired batching budget, we will never update the prod_idx register.
Restructure code to always update prod_idx if new buffers could be
allocated. This eliminates the current two stage process (clean_idx ->
prod_idx) and some associated bookkeeping variables.
Signed-off-by: Benjamin Poirier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions