# git rev-parse -q --verify 7246f4dcaccc8de76a96a41359d89c3c791579bc^{commit} 7246f4dcaccc8de76a96a41359d89c3c791579bc already have revision, skipping fetch # git checkout -q -f -B kisskb 7246f4dcaccc8de76a96a41359d89c3c791579bc # git clean -qxdf # < git log -1 # commit 7246f4dcaccc8de76a96a41359d89c3c791579bc # Author: Sasha Levin # Date: Fri Nov 12 10:16:02 2021 -0500 # # tools/lib/lockdep: drop liblockdep # # TL;DR: While a tool like liblockdep is useful, it probably doesn't # belong within the kernel tree. # # liblockdep attempts to reuse kernel code both directly (by directly # building the kernel's lockdep code) as well as indirectly (by using # sanitized headers). This makes liblockdep an integral part of the # kernel. # # It also makes liblockdep quite unique: while other userspace code might # use sanitized headers, it generally doesn't attempt to use kernel code # directly which means that changes on the kernel side of things don't # affect (and break) it directly. # # All our workflows and tooling around liblockdep don't support this # uniqueness. Changes that go into the kernel code aren't validated to not # break in-tree userspace code. # # liblockdep ended up being very fragile, breaking over and over, to the # point that living in the same tree as the lockdep code lost most of it's # value. # # liblockdep should continue living in an external tree, syncing with # the kernel often, in a controllable way. # # Signed-off-by: Sasha Levin # Cc: Ingo Molnar # Cc: Peter Zijlstra # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 7246f4dcaccc8de76a96a41359d89c3c791579bc # < make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.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 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:4164:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4169:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:4170:warning: override: reassigning to symbol BPF_PRELOAD # make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:03:34.604780