Revert "BACKPORT: FROMLIST: mm: disable LRU pagevec during the migration temporarily"
This reverts commit 3039d8580c
.
Bug: 180018981
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Iadadd7f4c7aafa439afd7a1c3e575e5e31602bef
This commit is contained in:

committed by
Suren Baghdasaryan

parent
9e2790466f
commit
7ed55d7025
@@ -1326,7 +1326,7 @@ static long do_mbind(unsigned long start, unsigned long len,
|
||||
|
||||
if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL)) {
|
||||
|
||||
lru_cache_disable();
|
||||
lru_add_drain_all();
|
||||
}
|
||||
{
|
||||
NODEMASK_SCRATCH(scratch);
|
||||
@@ -1374,8 +1374,6 @@ up_out:
|
||||
mmap_write_unlock(mm);
|
||||
mpol_out:
|
||||
mpol_put(new);
|
||||
if (flags & (MPOL_MF_MOVE | MPOL_MF_MOVE_ALL))
|
||||
lru_cache_enable();
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user