# git rev-parse -q --verify 0fc810ae3ae110f9e2fcccce80fc8c8d62f97907^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify 0fc810ae3ae110f9e2fcccce80fc8c8d62f97907^{commit} 0fc810ae3ae110f9e2fcccce80fc8c8d62f97907 # git checkout -q -f -B kisskb 0fc810ae3ae110f9e2fcccce80fc8c8d62f97907 # git clean -qxdf # < git log -1 # commit 0fc810ae3ae110f9e2fcccce80fc8c8d62f97907 # Author: Linus Torvalds # Date: Tue Oct 29 16:03:31 2024 -1000 # # x86/uaccess: Avoid barrier_nospec() in 64-bit copy_from_user() # # The barrier_nospec() in 64-bit copy_from_user() is slow. Instead use # pointer masking to force the user pointer to all 1's for an invalid # address. # # The kernel test robot reports a 2.6% improvement in the per_thread_ops # benchmark [1]. # # This is a variation on a patch originally by Josh Poimboeuf [2]. # # Link: https://lore.kernel.org/202410281344.d02c72a2-oliver.sang@intel.com [1] # Link: https://lore.kernel.org/5b887fe4c580214900e21f6c61095adf9a142735.1730166635.git.jpoimboe@kernel.org [2] # Tested-and-reviewed-by: Josh Poimboeuf # Cc: Kirill A. Shutemov # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 0fc810ae3ae110f9e2fcccce80fc8c8d62f97907 # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- allnoconfig # < make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' /kisskb/src/kernel/fork.c: In function '__do_sys_clone3': /kisskb/src/kernel/fork.c:3075:2: warning: #warning clone3() entry point is missing, please fix [-Wcpp] #warning clone3() entry point is missing, please fix ^ /kisskb/src/kernel/fork.c: At top level: cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' Completed OK # rm -rf /kisskb/build/linus_allnoconfig_sparc64-gcc5 # Build took: 0:00:21.317479