-
Notifications
You must be signed in to change notification settings - Fork 24
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
cpuallocator: don't filter based on single CoreKind. #345
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good based on what title & description says. But would you mind to share why is this needed?
7d67457
to
0c7fa33
Compare
Yes. Sorry, I should have included an explanation in the commit message as well and will do so now. |
If we have only one type of core present (for instance E-core) and the caller indicates a priority preference which corresponds to an unavailable core type (for instance high-prio/P-core), we don't currently attempt clustered allocation at all, since the initial CoreKind based filtering filters out all CPU clusters as unsuitable. This does not make sense so relax this and only do core type filtering when we have multiple of them (when running on hybrid core architectures). Signed-off-by: Krisztian Litkey <[email protected]>
0c7fa33
to
fcac138
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @klihub .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Only do CoreKind filtering in clustered allocation when we have multiple CoreKinds available, IOW on hybrid core architectures.