Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH v2] linux-gen: pool: optimize odp_pool_stats() implementation #1962

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

MatiasElo
Copy link
Collaborator

No description provided.

@odpbuild odpbuild changed the title linux-gen: pool: optimize odp_pool_stats() implementation [PATCH v1] linux-gen: pool: optimize odp_pool_stats() implementation Dec 1, 2023
odp_thread_count_max() may return a lower value than ODP_THREAD_COUNT_MAX,
so use that when applicable to minimize overhead.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
If 'thread_cache_available' is enabled and 'cache_available' is not, it's
enough to read only the selected per thread counters.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
@odpbuild odpbuild changed the title [PATCH v1] linux-gen: pool: optimize odp_pool_stats() implementation [PATCH v2] linux-gen: pool: optimize odp_pool_stats() implementation Dec 4, 2023
@MatiasElo MatiasElo enabled auto-merge (rebase) December 4, 2023 12:10
@MatiasElo MatiasElo merged commit 2824925 into OpenDataPlane:master Dec 4, 2023
167 checks passed
@MatiasElo MatiasElo deleted the dev/optimize-pool-stats branch December 4, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants