# git rev-parse -q --verify 87066fdd2e30fe9dd531125d95257c118a74617e^{commit} 87066fdd2e30fe9dd531125d95257c118a74617e already have revision, skipping fetch # git checkout -q -f -B kisskb 87066fdd2e30fe9dd531125d95257c118a74617e # git clean -qxdf # < git log -1 # commit 87066fdd2e30fe9dd531125d95257c118a74617e # Author: Linus Torvalds # Date: Sun Oct 24 09:48:33 2021 -1000 # # Revert "mm/secretmem: use refcount_t instead of atomic_t" # # This reverts commit 110860541f443f950c1274f217a1a3e298670a33. # # Converting the "secretmem_users" counter to a refcount is incorrect, # because a refcount is special in zero and can't just be incremented (but # a count of users is not, and "no users" is actually perfectly valid and # not a sign of a free'd resource). # # Reported-by: syzbot+75639e6a0331cd61d3e2@syzkaller.appspotmail.com # Cc: Jordy Zomer # Cc: Kees Cook , # Cc: Jordy Zomer # Cc: James Bottomley # Cc: Mike Rapoport # Cc: Andrew Morton # 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 87066fdd2e30fe9dd531125d95257c118a74617e # < make -s -j 8 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 8 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 8 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 8 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- Completed OK # rm -rf /kisskb/build/linus_mips-allnoconfig_mips-gcc8 # Build took: 0:00:43.562130