WSL2-Linux-Kernel/arch
Alexey Dobriyan b9726c26dc numa: make "nr_node_ids" unsigned int
Number of NUMA nodes can't be negative.

This saves a few bytes on x86_64:

	add/remove: 0/0 grow/shrink: 4/21 up/down: 27/-265 (-238)
	Function                                     old     new   delta
	hv_synic_alloc.cold                           88     110     +22
	prealloc_shrinker                            260     262      +2
	bootstrap                                    249     251      +2
	sched_init_numa                             1566    1567      +1
	show_slab_objects                            778     777      -1
	s_show                                      1201    1200      -1
	kmem_cache_init                              346     345      -1
	__alloc_workqueue_key                       1146    1145      -1
	mem_cgroup_css_alloc                        1614    1612      -2
	__do_sys_swapon                             4702    4699      -3
	__list_lru_init                              655     651      -4
	nic_probe                                   2379    2374      -5
	store_user_store                             118     111      -7
	red_zone_store                               106      99      -7
	poison_store                                 106      99      -7
	wq_numa_init                                 348     338     -10
	__kmem_cache_empty                            75      65     -10
	task_numa_free                               186     173     -13
	merge_across_nodes_store                     351     336     -15
	irq_create_affinity_masks                   1261    1246     -15
	do_numa_crng_init                            343     321     -22
	task_numa_fault                             4760    4737     -23
	swapfile_init                                179     156     -23
	hv_synic_alloc                               536     492     -44
	apply_wqattrs_prepare                        746     695     -51

Link: http://lkml.kernel.org/r/20190201223029.GA15820@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-03-05 21:07:19 -08:00
..
alpha
arc
arm
arm64 numa: make "nr_node_ids" unsigned int 2019-03-05 21:07:19 -08:00
c6x
csky
h8300
hexagon
ia64 ia64: perfmon: don't mark buffer pages as PG_reserved 2019-03-05 21:07:19 -08:00
m68k m68k/mm: use __ClearPageReserved() 2019-03-05 21:07:18 -08:00
microblaze
mips
nds32
nios2
openrisc
parisc
powerpc numa: make "nr_node_ids" unsigned int 2019-03-05 21:07:19 -08:00
riscv riscv/vdso: don't clear PG_reserved 2019-03-05 21:07:18 -08:00
s390 s390/vdso: don't clear PG_reserved 2019-03-05 21:07:18 -08:00
sh
sparc
um
unicore32
x86 numa: make "nr_node_ids" unsigned int 2019-03-05 21:07:19 -08:00
xtensa
.gitignore
Kconfig