# git rev-parse -q --verify 5076190daded2197f62fe92cf69674488be44175^{commit} 5076190daded2197f62fe92cf69674488be44175 already have revision, skipping fetch # git checkout -q -f -B kisskb 5076190daded2197f62fe92cf69674488be44175 # git clean -qxdf # < git log -1 # commit 5076190daded2197f62fe92cf69674488be44175 # Author: Linus Torvalds # Date: Tue Mar 17 11:04:09 2020 -0700 # # mm: slub: be more careful about the double cmpxchg of freelist # # This is just a cleanup addition to Jann's fix to properly update the # transaction ID for the slub slowpath in commit fd4d9c7d0c71 ("mm: slub: # add missing TID bump.."). # # The transaction ID is what protects us against any concurrent accesses, # but we should really also make sure to make the 'freelist' comparison # itself always use the same freelist value that we then used as the new # next free pointer. # # Jann points out that if we do all of this carefully, we could skip the # transaction ID update for all the paths that only remove entries from # the lists, and only update the TID when adding entries (to avoid the ABA # issue with cmpxchg and list handling re-adding a previously seen value). # # But this patch just does the "make sure to cmpxchg the same value we # used" rather than then try to be clever. # # Acked-by: Jann Horn # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 5076190daded2197f62fe92cf69674488be44175 # < make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-allnoconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- allnoconfig # < make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-allnoconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-allnoconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 24 ARCH=mips O=/kisskb/build/linus_mips-allnoconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- FIT description: Linux 5.6.0-rc6+ Created: Thu Mar 19 04:43:38 2020 Image 0 (kernel@0) Description: Linux 5.6.0-rc6+ Created: Thu Mar 19 04:43:38 2020 Type: Kernel Image Compression: gzip compressed Data Size: 660373 Bytes = 644.90 KiB = 0.63 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x80229d40 Hash algo: sha1 Hash value: af30e0a44dfde8d1e8cb219ad8035c50083b64d4 Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Completed OK # rm -rf /kisskb/build/linus_mips-allnoconfig_mips-gcc8 # Build took: 0:00:24.566872