Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130974
b: refs/heads/master
c: ab92661
h: refs/heads/master
v: v3
  • Loading branch information
Carsten Otte authored and Linus Torvalds committed Feb 5, 2009
1 parent 7cf305e commit 17b0b8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 777c6c5f1f6e757ae49ecca2ed72d6b1f523c007
refs/heads/master: ab92661d5d9514647346047f30f67a7f35ffea67
2 changes: 1 addition & 1 deletion trunk/mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -1999,7 +1999,7 @@ static int do_wp_page(struct mm_struct *mm, struct vm_area_struct *vma,
* Don't let another task, with possibly unlocked vma,
* keep the mlocked page.
*/
if (vma->vm_flags & VM_LOCKED) {
if ((vma->vm_flags & VM_LOCKED) && old_page) {
lock_page(old_page); /* for LRU manipulation */
clear_page_mlock(old_page);
unlock_page(old_page);
Expand Down

0 comments on commit 17b0b8b

Please sign in to comment.