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

config: rt-tests: set default priority of rt-migrate test #2667

Merged
merged 1 commit into from
Sep 20, 2024

Commits on Sep 11, 2024

  1. config: rt-tests: set default priority of rt-migrate test

    The priority of 96 if passed to rt-migrate causes failure. The test
    isn't designed well to handle high priority of 96. The test takes this
    priority and adds the count of number of tasks which becomes greater
    than 99. The 99 is the highest priority level for SCHED_FIFO. Hence,
    the priority setting of the main thread fails, we get warning and later
    test failure:
    
      Warning, can't set priority of main thread!
    
    Instead of fixing the test at this time, let's use priority of 90
    instead of 96 such that the total priority of main thread remains below
    highest priority level. We can set any other lower priority than 90 here
    as well such as 51 which is set in the rt-migrate-test.sh by default.
    
    Relates kernelci/kernelci-project#439
    Signed-off-by: Muhammad Usama Anjum <[email protected]>
    musamaanjum committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    5af56c0 View commit details
    Browse the repository at this point in the history