projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vmscan: promote shared file mapped pages
[firefly-linux-kernel-4.4.55.git]
/
mm
/
fremap.c
diff --git
a/mm/fremap.c
b/mm/fremap.c
index 7f4123056e0603ce3bae84c3fea05a7444160dc8..b8e0e2d468afb276816174bcb76a46667d74831b 100644
(file)
--- a/
mm/fremap.c
+++ b/
mm/fremap.c
@@
-224,7
+224,7
@@
SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
/*
* drop PG_Mlocked flag for over-mapped range
*/
-
unsigned in
t saved_flags = vma->vm_flags;
+
vm_flags_
t saved_flags = vma->vm_flags;
munlock_vma_pages_range(vma, start, start + size);
vma->vm_flags = saved_flags;
}