Sorry, something went wrong.
| } | ||
| // 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 |
There was a problem hiding this comment.
The kernel would clear the icache for us. Not sure if this would ever be a problem.
Sorry, something went wrong.
There was a problem hiding this comment.
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
Sorry, something went wrong.
There was a problem hiding this comment.
See the discussion in the previous pr
Sorry, something went wrong.
Automerge-Triggered-By: GH:pablogsal