Skip to content

Commit 3882165

Browse files
Yu ZhaoExactExampl
authored andcommitted
mm/mglru: don't sync disk for each aging cycle
wakeup_flusher_threads() was added under the assumption that if a system runs out of clean cold pages, it might want to write back dirty pages more aggressively so that they can become clean and be dropped. However, doing so can breach the rate limit a system wants to impose on writeback, resulting in early SSD wearout. Link: https://lkml.kernel.org/r/YzSiWq9UEER5LKup@google.com Fixes: bd74fdaea146 ("mm: multi-gen LRU: support page table walks") Signed-off-by: Yu Zhao <yuzhao@google.com> Reported-by: Axel Rasmussen <axelrasmussen@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Juhyung Park <qkrwngud825@gmail.com> Change-Id: I95a2f8486aab4dd6c4d3a69a046b973a2cf69fc3 Signed-off-by: fadlyas07 <mhmmdfdlyas@gmail.com> Signed-off-by: HeroBuxx <me@herobuxx.me>
1 parent 3bd045a commit 3882165

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

mm/vmscan.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3805,8 +3805,6 @@ static bool try_to_inc_max_seq(struct lruvec *lruvec, unsigned long max_seq,
38053805
if (wq_has_sleeper(&lruvec->mm_state.wait))
38063806
wake_up_all(&lruvec->mm_state.wait);
38073807

3808-
wakeup_flusher_threads(WB_REASON_VMSCAN);
3809-
38103808
return true;
38113809
}
38123810

0 commit comments

Comments
 (0)