# git gc Expanding reachable commits in commit graph: 79588 Expanding reachable commits in commit graph: 165697 Expanding reachable commits in commit graph: 256481 Expanding reachable commits in commit graph: 344727 Expanding reachable commits in commit graph: 440266 Expanding reachable commits in commit graph: 526081 Expanding reachable commits in commit graph: 626485 Expanding reachable commits in commit graph: 728365 Expanding reachable commits in commit graph: 832386 Expanding reachable commits in commit graph: 939710 Expanding reachable commits in commit graph: 1049665 Expanding reachable commits in commit graph: 1132764 Expanding reachable commits in commit graph: 1248878 Expanding reachable commits in commit graph: 1249929, done. Writing out commit graph in 4 passes: 60% (3027814/4999716) Writing out commit graph in 4 passes: 61% (3049827/4999716) Writing out commit graph in 4 passes: 62% (3099824/4999716) Writing out commit graph in 4 passes: 63% (3149822/4999716) Writing out commit graph in 4 passes: 64% (3199819/4999716) Writing out commit graph in 4 passes: 65% (3249816/4999716) Writing out commit graph in 4 passes: 66% (3299813/4999716) Writing out commit graph in 4 passes: 67% (3349810/4999716) Writing out commit graph in 4 passes: 68% (3399807/4999716) Writing out commit graph in 4 passes: 69% (3449805/4999716) Writing out commit graph in 4 passes: 70% (3499802/4999716) Writing out commit graph in 4 passes: 71% (3549799/4999716) Writing out commit graph in 4 passes: 72% (3599796/4999716) Writing out commit graph in 4 passes: 73% (3649793/4999716) Writing out commit graph in 4 passes: 73% (3695676/4999716) Writing out commit graph in 4 passes: 74% (3699790/4999716) Writing out commit graph in 4 passes: 75% (3749787/4999716) Writing out commit graph in 4 passes: 76% (3799785/4999716) Writing out commit graph in 4 passes: 77% (3849782/4999716) Writing out commit graph in 4 passes: 78% (3899779/4999716) Writing out commit graph in 4 passes: 79% (3949776/4999716) Writing out commit graph in 4 passes: 80% (3999773/4999716) Writing out commit graph in 4 passes: 81% (4049770/4999716) Writing out commit graph in 4 passes: 82% (4099768/4999716) Writing out commit graph in 4 passes: 83% (4149765/4999716) Writing out commit graph in 4 passes: 84% (4199762/4999716) Writing out commit graph in 4 passes: 85% (4249759/4999716) Writing out commit graph in 4 passes: 86% (4299756/4999716) Writing out commit graph in 4 passes: 87% (4349753/4999716) Writing out commit graph in 4 passes: 88% (4399751/4999716) Writing out commit graph in 4 passes: 89% (4449748/4999716) Writing out commit graph in 4 passes: 90% (4499745/4999716) Writing out commit graph in 4 passes: 91% (4549742/4999716) Writing out commit graph in 4 passes: 92% (4599739/4999716) Writing out commit graph in 4 passes: 93% (4649736/4999716) Writing out commit graph in 4 passes: 94% (4699734/4999716) Writing out commit graph in 4 passes: 95% (4749731/4999716) Writing out commit graph in 4 passes: 96% (4799728/4999716) Writing out commit graph in 4 passes: 97% (4849725/4999716) Writing out commit graph in 4 passes: 98% (4899722/4999716) Writing out commit graph in 4 passes: 99% (4949719/4999716) Writing out commit graph in 4 passes: 100% (4999716/4999716) Writing out commit graph in 4 passes: 100% (4999716/4999716), done. # git rev-parse -q --verify 716f4aaa7b48a55c73d632d0657b35342b1fefd7^{commit} 716f4aaa7b48a55c73d632d0657b35342b1fefd7 already have revision, skipping fetch # git checkout -q -f -B kisskb 716f4aaa7b48a55c73d632d0657b35342b1fefd7 # git clean -qxdf # < git log -1 # commit 716f4aaa7b48a55c73d632d0657b35342b1fefd7 # Merge: 841c35169323 46f5ab762d04 # Author: Linus Torvalds # Date: Mon Feb 12 07:15:45 2024 -0800 # # Merge tag 'vfs-6.8-rc5.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs # # Pull vfs fixes from Christian Brauner: # # - Fix performance regression introduced by moving the security # permission hook out of do_clone_file_range() and into its caller # vfs_clone_file_range(). # # This causes the security hook to be called in situation were it # wasn't called before as the fast permission checks were left in # do_clone_file_range(). # # Fix this by merging the two implementations back together and # restoring the old ordering: fast permission checks first, expensive # ones later. # # - Tweak mount_setattr() permission checking so that mount properties on # the real rootfs can be changed. # # When we added mount_setattr() we added additional checks compared to # legacy mount(2). If the mount had a parent then verify that the # caller and the mount namespace the mount is attached to match and if # not make sure that it's an anonymous mount. # # But the real rootfs falls into neither category. It is neither an # anoymous mount because it is obviously attached to the initial mount # namespace but it also obviously doesn't have a parent mount. So that # means legacy mount(2) allows changing mount properties on the real # rootfs but mount_setattr(2) blocks this. This causes regressions (See # the commit for details). # # Fix this by relaxing the check. If the mount has a parent or if it # isn't a detached mount, verify that the mount namespaces of the # caller and the mount are the same. Technically, we could probably # write this even simpler and check that the mount namespaces match if # it isn't a detached mount. But the slightly longer check makes it # clearer what conditions one needs to think about. # # * tag 'vfs-6.8-rc5.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: # fs: relax mount_setattr() permission checks # remap_range: merge do_clone_file_range() into vfs_clone_file_range() # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 716f4aaa7b48a55c73d632d0657b35342b1fefd7 # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_g5_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- g5_defconfig # < make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_g5_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_g5_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_g5_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/linus_g5_defconfig_powerpc-gcc11 # Build took: 0:05:30.592512