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

kernel: Remove batchpriority from kernel library #30083

Merged
merged 1 commit into from
May 14, 2024

Commits on May 14, 2024

  1. kernel: Remove batchpriority from kernel library

    The current usage of ScheduleBatchPriority is not transparent. Once the
    thread scheduling is changed, it remains unchanged for the remainder of
    the thread's lifetime. So move the call from `ImportBlocks` to the init
    code where it is clearer that its effect lasts for the entire lifetime
    of the thread.
    
    Users of the kernel library might not expect `ImportBlocks` to have an
    influence on the thread it is called in. Particularly since it is only a
    compile time option and cannot be controlled at runtime. With this patch
    users of the kernel library can now choose their own scheduling policy.
    TheCharlatan committed May 14, 2024
    Configuration menu
    Copy the full SHA
    d4b17c7 View commit details
    Browse the repository at this point in the history