Skip to content

Refactor operations to fully work on AArch64.#191

Merged
corona10 merged 3 commits intopsf:mainfrom
diegorusso:main
May 26, 2024
Merged

Refactor operations to fully work on AArch64.#191
corona10 merged 3 commits intopsf:mainfrom
diegorusso:main

Conversation

@diegorusso
Copy link
Copy Markdown
Contributor

@diegorusso diegorusso commented May 23, 2024

Create IntelPstateOperation class for Intel P-State operations.
Enable CPUGovernor on AArch64 platforms.
Replace all Class names with super() in the init method.

Create IntelPstateOperation class for Intel P-State operations.
Enable CPUGovernor on AArch64 platforms.
@diegorusso
Copy link
Copy Markdown
Contributor Author

cc @vstinner @corona10 @mdboom

@corona10 corona10 self-assigned this May 23, 2024
@corona10
Copy link
Copy Markdown
Member

I will take a look by this weekend :)

Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you try to avoid moving code? It makes the diff harder to review.

Like leaving TurboBoostIntelPstate after TurboBoostMSR.

@diegorusso
Copy link
Copy Markdown
Contributor Author

Can you try to avoid moving code? It makes the diff harder to review.

Like leaving TurboBoostIntelPstate after TurboBoostMSR.

Done, I tried moving less code possible.

Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The overall change LGTM. I let @corona10 do a second review.

Co-authored-by: Victor Stinner <vstinner@python.org>
@corona10 corona10 merged commit 2b9591d into psf:main May 26, 2024
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