blob: c4c29c70e8999c93cf78a48579c12b3b912885aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Problems related to checking page crossing in use_goto_tb()
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.
|