mm-vmscan-delay-waking-of-tasks-throttled-on-noprogress.patch removed from -mm tree
The patch titled
Subject: mm/vmscan: delay waking of tasks throttled on NOPROGRESS
has been removed from the -mm tree. Its filename was
mm-vmscan-delay-waking-of-tasks-throttled-on-noprogress.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Mel Gorman <[email protected]>
Subject: mm/vmscan: delay waking of tasks throttled on NOPROGRESS
Tracing indicates that tasks throttled on NOPROGRESS are woken prematurely resulting in occasional massive spikes in direct reclaim activity. This patch wakes tasks throttled on NOPROGRESS if reclaim efficiency is at least 12%.
Signed-off-by Mel Gorman <[email protected]>
Acked-by Vlastimil Babka <[email protected]>
Cc Andreas Dilger <[email protected]>
Cc "Darrick J . Wong" <[email protected]>
Cc Dave Chinner <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Jonathan Corbet <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Michal Hocko <[email protected]>
Cc NeilBrown <[email protected]>
Cc Rik van Riel <[email protected]>
Cc "Theodore Ts'o" <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/vmscan.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
mm/vmscan.c renamed from mm/vmscan.c~mm-vmscan-delay-waking-of-tasks-throttled-on-noprogress +5 -2
@@ -3348,8 +3348,11 @@ static inline bool compaction_ready(strustatic void consider_reclaim_throttle (pg_data_t *pgdat,struct scan_control *sc) { -/* If reclaim is making progress, wake any throttled tasks. */ -if (sc->nr_reclaimed) { +/* +* If reclaim is making progress greater than 12% efficiency then +* wake all the NOPROGRESS throttled tasks. +*/ +if (sc->nr_reclaimed > (sc->nr_scanned >>3 )) {wait_queue_head_t *wqh; wqh = &pgdat->reclaim_wait[VMSCAN_THROTTLE_NOPROGRESS ];
_
Patches currently in -mm which might be from [email protected] are