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