Masamichi Takagi 3f26e44f85 mremap: Don't premap destination vm_range
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
2018-06-13 00:31:44 +09:00
2018-06-13 00:31:43 +09:00
2018-03-09 14:36:01 +09:00
Description
No description provided
GPL-2.0 20 MiB
Languages
C 85.3%
Shell 7.7%
Perl 3.4%
Assembly 1.3%
CMake 1.2%
Other 1%