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
[PATCH] remove redundant vm_flags clearing from madvise.c
[firefly-linux-kernel-4.4.55.git]
/
mm
/
madvise.c
diff --git
a/mm/madvise.c
b/mm/madvise.c
index e3108054733c2530fd28114b4814e27eda106ac0..54a5d3bc55d501caa3d2da3f3a9ef265ca584f2a 100644
(file)
--- a/
mm/madvise.c
+++ b/
mm/madvise.c
@@
-65,7
+65,6
@@
static long madvise_behavior(struct vm_area_struct * vma,
/*
* vm_flags is protected by the mmap_sem held in write mode.
*/
- VM_ClearReadHint(vma);
vma->vm_flags = new_flags;
out: