Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164480
b: refs/heads/master
c: 252c5f9
h: refs/heads/master
v: v3
  • Loading branch information
Lee Schermerhorn authored and Linus Torvalds committed Sep 22, 2009
1 parent 59b3f16 commit 62e2779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f96b79ad96263cc0ece7bb340cddf9b2ddfb1b3
refs/heads/master: 252c5f94d944487e9f50ece7942b0fbf659c5c31
4 changes: 2 additions & 2 deletions trunk/mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,9 @@ again: remove_next = 1 + (end > next->vm_end);

/*
* When changing only vma->vm_end, we don't really need
* anon_vma lock: but is that case worth optimizing out?
* anon_vma lock.
*/
if (vma->anon_vma)
if (vma->anon_vma && (insert || importer || start != vma->vm_start))
anon_vma = vma->anon_vma;
if (anon_vma) {
spin_lock(&anon_vma->lock);
Expand Down

0 comments on commit 62e2779

Please sign in to comment.