Commit 3dd549a
mm, slab: remove the corner case of inc_slabs_node()
We already have the inc_slabs_node() after kmem_cache_node->node[node]
initialized in early_kmem_cache_node_alloc(), this special case of
inc_slabs_node() can be removed. Then we don't need to consider the
existence of kmem_cache_node in inc_slabs_node() anymore.
Signed-off-by: Chengming Zhou <chengming.zhou@linux.dev>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>1 parent 011568e commit 3dd549a
1 file changed
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1498 | 1498 | | |
1499 | 1499 | | |
1500 | 1500 | | |
1501 | | - | |
1502 | | - | |
1503 | | - | |
1504 | | - | |
1505 | | - | |
1506 | | - | |
1507 | | - | |
1508 | | - | |
1509 | | - | |
1510 | | - | |
| 1501 | + | |
| 1502 | + | |
1511 | 1503 | | |
1512 | 1504 | | |
1513 | 1505 | | |
| |||
4855 | 4847 | | |
4856 | 4848 | | |
4857 | 4849 | | |
4858 | | - | |
4859 | 4850 | | |
4860 | 4851 | | |
4861 | 4852 | | |
| |||
0 commit comments