summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.cc
diff options
context:
space:
mode:
author Lokesh Gidra <lokeshgidra@google.com> 2022-08-10 15:23:02 -0700
committer Lokesh Gidra <lokeshgidra@google.com> 2022-08-10 17:50:30 -0700
commit605774b25948d047caa4366986335d33d4385d3a (patch)
tree40efdcaf88cf8ea3dd1e32d2b276f130b4d7e28a /compiler/driver/compiler_options.cc
parent1455bb566b7d8efc72c2e476733c8cf21ffd7247 (diff)
Don't use MREMAP_DONTUNMAP on host when kernel < 5.13
If the kernel version on host is < 5.13 then it doesn't support MREMAP_DONTUNMAP feature of mremap. In that case don't use it and instead mmap the moving space again. On target this can't happen as it's a prerequisite for userfaultfd. Test: ART_USE_READ_BARRIER=false art/test/testrunner/testrunner.py --host Bug: 160737021 Change-Id: I0087fae0f9cfce31b646f2b82cc691d2929242f9
Diffstat (limited to 'compiler/driver/compiler_options.cc')
0 files changed, 0 insertions, 0 deletions