# 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/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 87066fdd2e30fe9dd531125d95257c118a74617e # < make -s -j 8 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- m5272c3_defconfig # < make -s -j 8 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 8 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 8 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- Completed OK # rm -rf /kisskb/build/linus_m5272c3_defconfig_m68k-gcc8 # Build took: 0:00:49.464774