Skip to contentSkip to conversation

writeback-remove-unused-parameter-from-balance_dirty_pages.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 16, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/page-writeback.c: remove unused parameter from balance_dirty_pages()
has been removed from the -mm tree. Its filename was
writeback-remove-unused-parameter-from-balance_dirty_pages.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Tahsin Erdogan <[email protected]>
Subject: mm/page-writeback.c: remove unused parameter from balance_dirty_pages()

"mapping" parameter to balance_dirty_pages() is not used anymore.

Fixes dfb8ae567835 ("writeback: let balance_dirty_pages() work on the matching cgroup bdi_writeback")
Cc Jan Kara <[email protected]>

---

 mm/page-writeback.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
mm/page-writeback.c renamed from mm/page-writeback.c~writeback-remove-unused-parameter-from-balance_dirty_pages +2 -3
diff -puN mm/page-writeback.c~writeback-remove-unused-parameter-from-balance_dirty_pages mm/page-writeback.c
@@ -1559,8 +1559,7 @@ static inline void wb_dirty_limits(struc
  * If we're over `background_thresh' then the writeback threads are woken to
  * perform some writeout.
  */
-static void balance_dirty_pages(struct address_space *mapping,
-				struct bdi_writeback *wb,
+static void balance_dirty_pages(struct bdi_writeback *wb,
 				unsigned long pages_dirtied)
 {
 	struct dirty_throttle_control gdtc_stor = { GDTC_INIT(wb) };
@@ -1910,7 +1909,7 @@ void balance_dirty_pages_ratelimited(str
 	preempt_enable();
 
 	if (unlikely(current->nr_dirtied >= ratelimit))
-		balance_dirty_pages(mapping, wb, current->nr_dirtied);
+		balance_dirty_pages(wb, current->nr_dirtied);
 
 	wb_put(wb);
 }

_

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