CONFIG_X86_VSMP vSMP sets internode cache padding to 4k. Off. This makes default CONFIG_X86_INTERNODE_CACHE_SHIFT sane(r). CONFIG_MAXSMP sets NR_CPUS to 8k, making some structs insanely large. Off to make CONFIG_NR_CPUS saner. CONFIG_NODES_SHIFT is hardwired to 10 if CONFIG_MAXSMP. Need to reset it when unsetting CONFIG_MAXSMP. For now, set CONFIG_NR_CPUS=512 as a "reasonably big" number: such as one-socket system wih Knights Landing CPU. CONFIG_TEST_RHASHTABLE has a hugest static array (named "array"). 00400000 b stack_trace CONFIG_LOCKDEP 003dfe10 b lock_classes CONFIG_LOCKDEP 00200000 B lock_chains CONFIG_LOCKDEP 00200000 b list_entries CONFIG_LOCKDEP 001bff20 V cpu_lock_stats CONFIG_LOCKDEP && CONFIG_LOCK_STAT 000a0000 b chain_hlocks CONFIG_LOCKDEP 00080000 b chainhash_table CONFIG_LOCKDEP 00010000 b classhash_table CONFIG_LOCKDEP CONFIG_LOCKDEP is selected by any of: DEBUG_WW_MUTEX_SLOWPATH CONFIG_DEBUG_LOCK_ALLOC CONFIG_PROVE_LOCKING CONFIG_LOCK_STAT 00140000 b obj_hash CONFIG_DEBUG_OBJECTS 00020000 b entries CONFIG_TIMER_STATS 00040000 b debug_alloc_pool_aligned CONFIG_KGDB_KDB (kdb_support.c) 28842x00000028 d descriptor.NN CONFIG_DYNAMIC_DEBUG