3f26e44f85ffd3d912bcff78b51552021278de88
mremap works in the following steps: (1) Unmap the destination memory area (2) Create a new vm_range with add_process_memory_range (3) Move the PTEs of the source range to the destination range by using move_pte_range The problem is that step (3) expects the destination doesn't have any physical pages, but step (2) premaps the destination when the optimization of premapping anonymous map is turned on. Change-Id: Ieeebd799b7169b9a6f6f658c204c31f49817030f
Description
Languages
C
85.3%
Shell
7.7%
Perl
3.4%
Assembly
1.3%
CMake
1.2%
Other
1%