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
(cherry picked from commit 605774b25948d047caa4366986335d33d4385d3a)
Merged-In: I0087fae0f9cfce31b646f2b82cc691d2929242f9
1 file changed