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

rusty: Use cpumask kfuncs in cpumask_intersects_domain() #328

Merged
merged 1 commit into from
Jun 3, 2024

Commits on Jun 3, 2024

  1. rusty: Use cpumask kfuncs in cpumask_intersects_domain()

    In cpumask_intersects_domain(), we check whether a given cpumask has any
    CPUs in common with the specified domain by looking at the const, static
    dom_cpumasks map. This map is only really necessary when creating the
    domain struct bpf_cpumask objects at scheduler load time. After that, we
    can just use the actual struct bpf_cpumask object embedded in the domain
    context. Let's use that and cpumask kfuncs instead.
    
    This allows rusty to load with
    sched-ext/sched_ext#216.
    
    Signed-off-by: David Vernet <[email protected]>
    Byte-Lab committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    0ae676a View commit details
    Browse the repository at this point in the history