# git rev-parse -q --verify d4013bc4d49f6da8178a340348369bb9920225c9^{commit} d4013bc4d49f6da8178a340348369bb9920225c9 already have revision, skipping fetch # git checkout -q -f -B kisskb d4013bc4d49f6da8178a340348369bb9920225c9 # git clean -qxdf # < git log -1 # commit d4013bc4d49f6da8178a340348369bb9920225c9 # Merge: cdf072acb5baa 585463f0d58aa # Author: Linus Torvalds # Date: Mon Oct 10 12:49:34 2022 -0700 # # Merge tag 'bitmap-6.1-rc1' of https://github.com/norov/linux # # Pull bitmap updates from Yury Norov: # # - Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES (Phil Auld) # # - cleanup nr_cpu_ids vs nr_cpumask_bits mess (me) # # This series cleans that mess and adds new config FORCE_NR_CPUS that # allows to optimize cpumask subsystem if the number of CPUs is known # at compile-time. # # - optimize find_bit() functions (me) # # Reworks find_bit() functions based on new FIND_{FIRST,NEXT}_BIT() # macros. # # - add find_nth_bit() (me) # # Adds find_nth_bit(), which is ~70 times faster than bitcounting with # for_each() loop: # # for_each_set_bit(bit, mask, size) # if (n-- == 0) # return bit; # # Also adds bitmap_weight_and() to let people replace this pattern: # # tmp = bitmap_alloc(nbits); # bitmap_and(tmp, map1, map2, nbits); # weight = bitmap_weight(tmp, nbits); # bitmap_free(tmp); # # with a single bitmap_weight_and() call. # # - repair cpumask_check() (me) # # After switching cpumask to use nr_cpu_ids, cpumask_check() started # generating many false-positive warnings. This series fixes it. # # - Add for_each_cpu_andnot() and for_each_cpu_andnot() (Valentin # Schneider) # # Extends the API with one more function and applies it in sched/core. # # * tag 'bitmap-6.1-rc1' of https://github.com/norov/linux: (28 commits) # sched/core: Merge cpumask_andnot()+for_each_cpu() into for_each_cpu_andnot() # lib/test_cpumask: Add for_each_cpu_and(not) tests # cpumask: Introduce for_each_cpu_andnot() # lib/find_bit: Introduce find_next_andnot_bit() # cpumask: fix checking valid cpu range # lib/bitmap: add tests for for_each() loops # lib/find: optimize for_each() macros # lib/bitmap: introduce for_each_set_bit_wrap() macro # lib/find_bit: add find_next{,_and}_bit_wrap # cpumask: switch for_each_cpu{,_not} to use for_each_bit() # net: fix cpu_max_bits_warn() usage in netif_attrmask_next{,_and} # cpumask: add cpumask_nth_{,and,andnot} # lib/bitmap: remove bitmap_ord_to_pos # lib/bitmap: add tests for find_nth_bit() # lib: add find_nth{,_and,_andnot}_bit() # lib/bitmap: add bitmap_weight_and() # lib/bitmap: don't call __bitmap_weight() in kernel code # tools: sync find_bit() implementation # lib/find_bit: optimize find_next_bit() functions # lib/find_bit: create find_first_zero_bit_le() # ... # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 d4013bc4d49f6da8178a340348369bb9920225c9 # < make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:4141:warning: override: reassigning to symbol STANDALONE .config:4144:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 40 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- vmlinux.o: warning: objtool: fixup_bad_iret+0x8a: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: noist_exc_debug+0x50: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_nmi+0x36: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: poke_int3_handler+0x37: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_check_crashing_cpu+0x30: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: do_machine_check+0x5b: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_machine_check+0x55: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_nmi_enter+0x3c: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_nmi_exit+0x70: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: enter_from_user_mode+0x5c: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x62: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x5c: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x5c: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_kernel_enter_state+0x48: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_kernel_exit_state+0x48: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_kernel_enter+0x42: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_kernel_exit+0x52: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: context_tracking_recursion_enter+0x4b: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_nmi_enter+0x37: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: ct_idle_enter+0x27: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: __ct_user_enter+0x44: call to ftrace_likely_update() leaves .noinstr.text section vmlinux.o: warning: objtool: __ct_user_exit+0x78: call to __kasan_check_write() leaves .noinstr.text section Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:04:00.921802