aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-11-25 04:53:27 -0500
committerSteve French <sfrench@us.ibm.com>2007-11-25 04:53:27 -0500
commit058250a0d5886b4d96a195ecc7e3a75e2df5e4b1 (patch)
treefb67e8f5258c6aa11d4e8c39650e23de7556b38d /mm/memory.c
parentcea218054ad277d6c126890213afde07b4eb1602 (diff)
parent2ffbb8377c7a0713baf6644e285adc27a5654582 (diff)
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'mm/memory.c')
-rw-r--r--mm/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 9791e4786843..4bf0b6d0eb2a 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -1036,7 +1036,7 @@ int get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
1036 1036
1037 if (is_vm_hugetlb_page(vma)) { 1037 if (is_vm_hugetlb_page(vma)) {
1038 i = follow_hugetlb_page(mm, vma, pages, vmas, 1038 i = follow_hugetlb_page(mm, vma, pages, vmas,
1039 &start, &len, i); 1039 &start, &len, i, write);
1040 continue; 1040 continue;
1041 } 1041 }
1042 1042
@@ -2084,9 +2084,9 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma,
2084 count_vm_event(PGMAJFAULT); 2084 count_vm_event(PGMAJFAULT);
2085 } 2085 }
2086 2086
2087 delayacct_clear_flag(DELAYACCT_PF_SWAPIN);
2088 mark_page_accessed(page); 2087 mark_page_accessed(page);
2089 lock_page(page); 2088 lock_page(page);
2089 delayacct_clear_flag(DELAYACCT_PF_SWAPIN);
2090 2090
2091 /* 2091 /*
2092 * Back out if somebody else already faulted in this pte. 2092 * Back out if somebody else already faulted in this pte.