diff options
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c index 2032ad2fc34b..0017111214c5 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -2435,8 +2435,6 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma, | |||
2435 | count_vm_event(PGMAJFAULT); | 2435 | count_vm_event(PGMAJFAULT); |
2436 | } | 2436 | } |
2437 | 2437 | ||
2438 | mark_page_accessed(page); | ||
2439 | |||
2440 | lock_page(page); | 2438 | lock_page(page); |
2441 | delayacct_clear_flag(DELAYACCT_PF_SWAPIN); | 2439 | delayacct_clear_flag(DELAYACCT_PF_SWAPIN); |
2442 | 2440 | ||