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

DRAM: fast_get() cache-handling improvements #9817

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lyakh
Copy link
Collaborator

@lyakh lyakh commented Feb 7, 2025

Use uncached aliases for potentially shared objects, synchronise cache properly when sharing cached access

lyakh added 3 commits February 7, 2025 10:16
When multiple users access the same DRAM data via the fast_get() API,
they can run on different cores. The data is immutable, but when
initially pointing to it, cache has to be invalidated.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
fast_get entry list is global, it can be accessed from any core,
allocate it uncached.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Invert a condition to eliminate a single goto.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
@lyakh
Copy link
Collaborator Author

lyakh commented Feb 7, 2025

SOFCI TEST

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.

3 participants