Skip to content

gh-162248: Avoid paired load of GC mark buffer counters on AArch64 - #162495

Open
johng wants to merge 1 commit into
python:mainfrom
johng:ft-gc-mark-counters
Open

johng wants to merge 1 commit into
python:mainfrom
johng:ft-gc-mark-counters

Conversation

@johng

@johng johng commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

@chris-eibl

chris-eibl commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Wouldn't this increase the size of struct gc_mark_args_t on 64bit targets due to alignment and moving

unsigned int out;

before or after

bool use_prefetch;

keep the struct size with the same benefit of avoiding the paired load?

Edit: sorry, hadn't seen this being suggested in the issue in the first place, so let's keep discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants