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
perf buildid-cache: Add --update option
[firefly-linux-kernel-4.4.55.git]
/
mm
/
mmap.c
diff --git
a/mm/mmap.c
b/mm/mmap.c
index f54b235f29a98c3b3a91c2c1e6b4b50ef5e8f287..35730ee9d51523b2ef6c8f59c96a2178ee95554b 100644
(file)
--- a/
mm/mmap.c
+++ b/
mm/mmap.c
@@
-2886,7
+2886,7
@@
static void vm_lock_anon_vma(struct mm_struct *mm, struct anon_vma *anon_vma)
* The LSB of head.next can't change from under us
* because we hold the mm_all_locks_mutex.
*/
* The LSB of head.next can't change from under us
* because we hold the mm_all_locks_mutex.
*/
- down_write
(&anon_vma->root->rw
sem);
+ down_write
_nest_lock(&anon_vma->root->rwsem, &mm->mmap_
sem);
/*
* We can safely modify head.next after taking the
* anon_vma->root->rwsem. If some other vma in this mm shares
/*
* We can safely modify head.next after taking the
* anon_vma->root->rwsem. If some other vma in this mm shares