Skip to content

Attempt to set memory executable before setting up YJIT and deactivate YJIT on failure #450

@noahgibbs

Description

@noahgibbs

Using Docker and QEMU, running what looks like x86-based YJIT on an ARM64 host, @byroot encountered some problems. That makes sense, and it's a great example of the kind of platform we will probably never test regularly.

But he points out that if we did a quick capability check for setting memory as executable, we could refuse to activate YJIT if it fails. I've seen this error happen before on weird platforms, and that sounds like a very sane approach to it. Then we'd have no YJIT in those weird cases, but also few-or-no bug reports.

@XrXr - does this seem like a reasonable approach to you?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions