diff options
author | JaeSang Yoo <[email protected]> | 2022-04-09 23:42:39 +0900 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2022-04-13 09:05:31 +0200 |
commit | 6b6efe23942536f3a2d2ae25c92d34d885f020c8 (patch) | |
tree | d499cb11d01e0b528ca529164649a72939a6f0ef | |
parent | 27c08f751cb1fc874562e9b18d70ea2af33ca889 (diff) |
mm/slub: remove meaningless node check in ___slab_alloc()
node_match() with node=NUMA_NO_NODE always returns 1.
Duplicate check by goto statement is meaningless. Remove it.
Signed-off-by: JaeSang Yoo <[email protected]>
Reviewed-by: Hyeonggon Yoo <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Acked-by: David Rientjes <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | mm/slub.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c index 3f775e77aae7..bf63739f9649 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -2910,7 +2910,6 @@ redo: */ if (!node_isset(node, slab_nodes)) { node = NUMA_NO_NODE; - goto redo; } else { stat(s, ALLOC_NODE_MISMATCH); goto deactivate_slab; |