diff options
author | John Hawthorn <john@hawthorn.email> | 2025-08-19 22:22:51 -0700 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2025-08-21 11:37:07 -0700 |
commit | 7ac16eff311f9bc762586bda9540d82e8eb7f135 (patch) | |
tree | e29bd2d64920e902d83789cf8cbcd4d42fe26fb2 /misc/lldb_disasm.py | |
parent | acb29f7fa1497463ed3bdd65549ef20b61beda64 (diff) |
[Bug #20146]
Previously we dealt with the main Ractor not being enabled for M:N by
incrementing snt_cnt++. This worked for comparing against ractor count,
but meant that we always had one less SNT than was specified by
RUBY_MAX_CPU.
This was notably a problem for RUBY_MAX_CPU=1, which would cause Ractors
to hang.
This commit instead of adjusting snt, adjusts a
"schedulable_ractor_cnt". This way snt_cnt will actually reach
RUBY_MAX_CPU.
Diffstat (limited to 'misc/lldb_disasm.py')
0 files changed, 0 insertions, 0 deletions