Skip to content

gh-96143: Add some comments and minor fixes missed in the original PR - #96433

Merged
pablogsal merged 2 commits into
python:mainfrom
pablogsal:gh-96143
Aug 30, 2022
Merged

gh-96143: Add some comments and minor fixes missed in the original PR#96433
pablogsal merged 2 commits into
python:mainfrom
pablogsal:gh-96143

Conversation

@pablogsal

@pablogsalpablogsal commented Aug 30, 2022

Copy link
Copy Markdown
Member

Automerge-Triggered-By: GH:pablogsal

@pablogsalpablogsal changed the title gh-96132: Add some comments and minor fixes missed in the original PRgh-96143: Add some comments and minor fixes missed in the original PRAug 30, 2022
Comment threadDoc/using/cmdline.rst Outdated
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
}
// Some systems may prevent us from creating executable code on the fly.
// TODO: Call icache invalidation intrinsics if available:
// __builtin___clear_cache/__clear_cache (depending if clang/gcc). This is

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The kernel would clear the icache for us. Not sure if this would ever be a problem.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

That's not correct in the general case. You are supposed to call this in aarch64 if you modify the code in some executable segment after it was read at least once. This doesn't apply for us but is not true that in all systems the kernel will clear it for us

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

See the discussion in the previous pr

@pablogsal
pablogsal merged commit f49dd54 into python:mainAug 30, 2022
@pablogsal
pablogsal deleted the gh-96143 branch August 30, 2022 18:37
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pablogsal@kumaraditya303@bedevere-bot