Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test if selfmem can write to RX page #22127

Merged
merged 1 commit into from
May 30, 2017
Merged

Test if selfmem can write to RX page #22127

merged 1 commit into from
May 30, 2017

Conversation

yuyichao
Copy link
Contributor

Also open only one /proc/self/mem.
There are apparently two instances of RTDyldMemoryManagerJL created.

Fix #22082

@Keno for testing.

@yuyichao
Copy link
Contributor Author

Added backport label. Not sure how cleanly this can be backported to 0.5.

@yuyichao
Copy link
Contributor Author

A local cherry-pick attempt shows no conflict so this should be backportable to 0.5.

src/cgmemmgr.cpp Outdated
static int self_mem_fd = -1;

static int init_self_mem()
// Do not call this direction.
Copy link
Contributor

Choose a reason for hiding this comment

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

directly

Also open only one `/proc/self/mem`.
There are apparently two instances of `RTDyldMemoryManagerJL` created.

Fix #22082
@yuyichao
Copy link
Contributor Author

I take the approve as tested on 4.12-rc* kernel?

@Keno
Copy link
Member

Keno commented May 30, 2017

yes

@yuyichao yuyichao merged commit 0e8408f into master May 30, 2017
@yuyichao yuyichao deleted the yyc/codegen/memmgr branch May 30, 2017 19:00
tkelman pushed a commit that referenced this pull request Jun 3, 2017
Also open only one `/proc/self/mem`.
There are apparently two instances of `RTDyldMemoryManagerJL` created.

Fix #22082

(cherry picked from commit ca22001)
ref #22127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants