Skip to contentSkip to conversation

writeback-remove-unused-macro-dirty_full_scope.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Oct 3, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: writeback: remove unused macro DIRTY_FULL_SCOPE
has been removed from the -mm tree. Its filename was
writeback-remove-unused-macro-dirty_full_scope.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Miaohe Lin <[email protected]>
Subject: writeback: remove unused macro DIRTY_FULL_SCOPE
Date: Fri, 9 Sep 2022 10:57:11 +0800

It's introduced but never used. Remove it.

---

 include/linux/writeback.h |    8 --------
 1 file changed, 8 deletions(-)
include/linux/writeback.h renamed from include/linux/writeback.h~writeback-remove-unused-macro-dirty_full_scope +0 -8
@@ -17,20 +17,12 @@ struct bio;
 DECLARE_PER_CPU(int, dirty_throttle_leaks);
 
 /*
- * The 1/4 region under the global dirty thresh is for smooth dirty throttling:
- *
- *	(thresh - thresh/DIRTY_FULL_SCOPE, thresh)
- *
- * Further beyond, all dirtier tasks will enter a loop waiting (possibly long
- * time) for the dirty pages to drop, unless written enough pages.
- *
  * The global dirty threshold is normally equal to the global dirty limit,
  * except when the system suddenly allocates a lot of anonymous memory and
  * knocks down the global dirty threshold quickly, in which case the global
  * dirty limit will follow down slowly to prevent livelocking all dirtier tasks.
  */
 #define DIRTY_SCOPE		8
-#define DIRTY_FULL_SCOPE	(DIRTY_SCOPE / 2)
 
 struct backing_dev_info;
 

_

Patches currently in -mm which might be from [email protected] are