[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1880722] Re: Changing executable page permissions with mmap causes
From: |
Ahmed Karaman |
Subject: |
[Bug 1880722] Re: Changing executable page permissions with mmap causes user-mode failures |
Date: |
Tue, 26 May 2020 16:30:58 -0000 |
** Tags added: linux-user
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1880722
Title:
Changing executable page permissions with mmap causes user-mode
failures
Status in QEMU:
New
Bug description:
The discussion that led to this bug discovery can be found in this
mailing list thread:
https://lists.nongnu.org/archive/html/qemu-devel/2020-05/msg05426.html
A workaround for this problem would be to check for page crossings for
both the user and system modes in the use_goto_tb() function across
targets. Some targets like "hppa" already implement this fix but others
don't.
To solve the root cause of this problem, the linux-user/mmap.c should
be fixed to do all the invalidations required. By doing so, up to 6.93%
performance improvements will be achieved.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1880722/+subscriptions