Skip to content

Commit

Permalink
[bot] AutoMerging: merge all upstream's changes:
Browse files Browse the repository at this point in the history
* https://github.com/coolsnowwolf/lede:
  kernel: bump 6.0 to 6.0.5 (coolsnowwolf#10319)
  generic: 5.15: backport smempart parser fixup patch with EPROBE_DEFER error
  generic: 5.15: backport qcom smem patch for reserved-space support
  generic: 5.15: move not backport patch to pending dir
  generic: 5.15: move MGLRU patches from pending to backport
  generic: 5.15: move mvebu aardvark patch from pending to backport
  generic: 5.15: move ZTE MF286D modem patch from pending to backport
  generic: 5.15: move bluetooth mt79 usb id patch from pending to backport
  generic: 5.15: move mtk eth soc patch from pending to backport
  generic: 5.15: move sfp HALNy patch from pending to backport
  generic: 5.15: move pending xtx nand patch from pending to backport
  generic: 5.15: move dtc drop interrupt check from pending to backport
  generic: 5.15: move MIPS cpuinfo patch from pending to backport
  • Loading branch information
github-actions[bot] committed Oct 26, 2022
2 parents a622bf6 + 9993b32 commit 00fefbc
Show file tree
Hide file tree
Showing 42 changed files with 1,959 additions and 515 deletions.
4 changes: 2 additions & 2 deletions include/kernel-6.0
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LINUX_VERSION-6.0 = .3
LINUX_KERNEL_HASH-6.0.3 = b0d522241805794d8af3a67d331ba063a16496c6fb6d365d48f7ed78ee1c3dcf
LINUX_VERSION-6.0 = .5
LINUX_KERNEL_HASH-6.0.5 = 61332ef22b53c50c10faabfb965896a7d1ad4f3381f0f89643c820f28a60418e
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 14aa8b2d5c2ebead01b542f62d68029023054774 Mon Sep 17 00:00:00 2001
From: Yu Zhao <yuzhao@google.com>
Date: Wed, 28 Sep 2022 13:36:58 -0600
Subject: [PATCH 1/1] 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>
---
mm/vmscan.c | 2 --
1 file changed, 2 deletions(-)

--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -4072,8 +4072,6 @@ static bool try_to_inc_max_seq(struct lr
if (wq_has_sleeper(&lruvec->mm_walk.wait))
wake_up_all(&lruvec->mm_walk.wait);

- wakeup_flusher_threads(WB_REASON_VMSCAN);
-
return true;
}

Loading

0 comments on commit 00fefbc

Please sign in to comment.