aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory.c')
-rw-r--r--mm/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 7b0403bfc97f..4bf0b6d0eb2a 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -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.