From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org, vbabka@suse.cz, rientjes@google.com,
osalvador@suse.de, mhocko@suse.com, krupa.ramakrishnan@amd.com,
kamezawa.hiroyu@jp.fujitsu.com, david@redhat.com,
richard.weiyang@gmail.com, akpm@linux-foundation.org
Subject: [folded-merged] mm-page_alloc-add-same-penalty-is-enough-to-get-round-robin-order-v3.patch removed from -mm tree
Date: Tue, 26 Apr 2022 20:06:00 -0700 [thread overview]
Message-ID: <20220427030601.331C9C385A4@smtp.kernel.org> (raw)
The patch titled
Subject: mm-page_alloc-add-same-penalty-is-enough-to-get-round-robin-order-v3
has been removed from the -mm tree. Its filename was
mm-page_alloc-add-same-penalty-is-enough-to-get-round-robin-order-v3.patch
This patch was dropped because it was folded into mm-page_alloc-add-same-penalty-is-enough-to-get-round-robin-order.patch
------------------------------------------------------
From: Wei Yang <richard.weiyang@gmail.com>
Subject: mm-page_alloc-add-same-penalty-is-enough-to-get-round-robin-order-v3
remove remove MAX_NODE_LOAD, per Vlastimil
Link: https://lkml.kernel.org/r/20220412001319.7462-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Oscar Salvador <osalvador@suse.de>
Cc: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Krupa Ramakrishnan <krupa.ramakrishnan@amd.com>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page_alloc.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- a/mm/page_alloc.c~mm-page_alloc-add-same-penalty-is-enough-to-get-round-robin-order-v3
+++ a/mm/page_alloc.c
@@ -6173,7 +6173,6 @@ int numa_zonelist_order_handler(struct c
}
-#define MAX_NODE_LOAD (nr_online_nodes)
static int node_load[MAX_NUMNODES];
/**
@@ -6220,7 +6219,7 @@ int find_next_best_node(int node, nodema
val += PENALTY_FOR_NODE_WITH_CPUS;
/* Slight preference for less loaded node */
- val *= (MAX_NODE_LOAD*MAX_NUMNODES);
+ val *= MAX_NUMNODES;
val += node_load[n];
if (val < min_val) {
@@ -6303,7 +6302,7 @@ static void build_zonelists(pg_data_t *p
*/
if (node_distance(local_node, node) !=
node_distance(local_node, prev_node))
- node_load[node] += nr_online_nodes;
+ node_load[node] += 1;
node_order[nr_nodes++] = node;
prev_node = node;
_
Patches currently in -mm which might be from richard.weiyang@gmail.com are
mm-memcg-mz-already-removed-from-rb_tree-if-not-null.patch
mm-memcg-set-memcg-after-css-verified-and-got-reference.patch
mm-memcg-set-pos-explicitly-for-reclaim-and-reclaim.patch
mm-memcg-move-generation-assignment-and-comparison-together.patch
mm-memcg-non-hierarchical-mode-is-deprecated.patch
mm-page_alloc-add-same-penalty-is-enough-to-get-round-robin-order.patch
mm-vmscan-reclaim-only-affects-managed_zones.patch
mm-vmscan-make-sure-wakeup_kswapd-with-managed-zone.patch
mm-vmscan-make-sure-wakeup_kswapd-with-managed-zone-v2.patch
mm-vmscan-sc-reclaim_idx-must-be-a-valid-zone-index.patch
mm-vmscan-not-necessary-to-re-init-the-list-for-each-iteration.patch
reply other threads:[~2022-04-27 3:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220427030601.331C9C385A4@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=david@redhat.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=krupa.ramakrishnan@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhocko@suse.com \
--cc=mm-commits@vger.kernel.org \
--cc=osalvador@suse.de \
--cc=richard.weiyang@gmail.com \
--cc=rientjes@google.com \
--cc=vbabka@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.