gh-129752: Don't update adaptive counters when TLBC=0 in free-threading. - #155497
Conversation
|
| if (!backoff_counter_is_unreachable((COUNTER))) { \ | ||
| (COUNTER) = advance_backoff_counter((COUNTER)); \ |
There was a problem hiding this comment.
Nit: I think we end up evaluating COUNTER twice here. Probably not a huge deal, but we could avoid that by loading COUNTER into a temporary.
| if (!backoff_counter_is_unreachable((COUNTER))) { \ | ||
| (COUNTER) = pause_backoff_counter((COUNTER)); \ |
|
Thanks @corona10 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
|
Sorry, @corona10, I could not cleanly backport this to |
|
GH-155647 is a backport of this pull request to the 3.15 branch. |
|
Sorry, @corona10, I could not cleanly backport this to |
|
GH-155715 is a backport of this pull request to the 3.14 branch. |
… free-threading. (pythongh-155497) (cherry picked from commit ee4fe00) Co-authored-by: Donghee Na <donghee.na@python.org>
|
@corona10, |
|
We don't need it |
-X tlbc=0in free threaded build #129752