# 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/nds32le-linux/bin/nds32le-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux-ld --version # < git log --format=%s --max-count=1 87066fdd2e30fe9dd531125d95257c118a74617e # < make -s -j 32 ARCH=nds32 O=/kisskb/build/linus_nds32-allyesconfig_nds32le-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- allyesconfig # < make -s -j 32 ARCH=nds32 O=/kisskb/build/linus_nds32-allyesconfig_nds32le-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- help # make -s -j 32 ARCH=nds32 O=/kisskb/build/linus_nds32-allyesconfig_nds32le-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- olddefconfig # make -s -j 32 ARCH=nds32 O=/kisskb/build/linus_nds32-allyesconfig_nds32le-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] WARNING: modpost: EXPORT symbol "copy_page" [vmlinux] version ... Is "copy_page" prototyped in ? WARNING: modpost: EXPORT symbol "clear_page" [vmlinux] version ... Is "clear_page" prototyped in ? Completed OK # rm -rf /kisskb/build/linus_nds32-allyesconfig_nds32le-gcc8 # Build took: 0:17:35.603143