* [merged] mm-vmscanc-remove-unused-return-value-of-shrink_node.patch removed from -mm tree
@ 2020-01-31 23:18 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-01-31 23:18 UTC (permalink / raw)
To: david, liu.song11, mm-commits
The patch titled
Subject: mm/vmscan.c: remove unused return value of shrink_node
has been removed from the -mm tree. Its filename was
mm-vmscanc-remove-unused-return-value-of-shrink_node.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Liu Song <liu.song11@zte.com.cn>
Subject: mm/vmscan.c: remove unused return value of shrink_node
The return value of shrink_node is not used, so remove
unnecessary operations.
Link: http://lkml.kernel.org/r/20191128143524.3223-1-fishland@aliyun.com
Signed-off-by: Liu Song <liu.song11@zte.com.cn>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/vmscan.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--- a/mm/vmscan.c~mm-vmscanc-remove-unused-return-value-of-shrink_node
+++ a/mm/vmscan.c
@@ -2695,7 +2695,7 @@ static void shrink_node_memcgs(pg_data_t
} while ((memcg = mem_cgroup_iter(target_memcg, memcg, NULL)));
}
-static bool shrink_node(pg_data_t *pgdat, struct scan_control *sc)
+static void shrink_node(pg_data_t *pgdat, struct scan_control *sc)
{
struct reclaim_state *reclaim_state = current->reclaim_state;
unsigned long nr_reclaimed, nr_scanned;
@@ -2874,8 +2874,6 @@ again:
*/
if (reclaimable)
pgdat->kswapd_failures = 0;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-31 23:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-31 23:18 [merged] mm-vmscanc-remove-unused-return-value-of-shrink_node.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).