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

GH-116422: Factor out eval breaker checks at end of calls into its own micro-op. #116817

Merged

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Mar 14, 2024

The main PR for hot/cold splitting (#116813) can only support a limited number of exits per micro-op.
Most call micro-ops can deopt, error and check the eval breaker which is too much for tier 2 to support.
This PR:

  • adds the _CHECK_PERIODIC uop to check the eval breaker
  • breaks up the various tier 1 specialized calls into _CALL... ; _CHECK_PERIODIC so that the component uops can be handled in tier 2.

@markshannon markshannon merged commit 61e54bf into python:main Mar 14, 2024
54 of 55 checks passed
vstinner pushed a commit to vstinner/cpython that referenced this pull request Mar 20, 2024
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
@markshannon markshannon deleted the separate-calls-from-eval-breaker branch August 6, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants