# git gc Expanding reachable commits in commit graph: 54447 Expanding reachable commits in commit graph: 111848 Expanding reachable commits in commit graph: 170111 Expanding reachable commits in commit graph: 229467 Expanding reachable commits in commit graph: 288243 Expanding reachable commits in commit graph: 348787 Expanding reachable commits in commit graph: 409685 Expanding reachable commits in commit graph: 470752 Expanding reachable commits in commit graph: 528815 Expanding reachable commits in commit graph: 590095 Expanding reachable commits in commit graph: 650867 Expanding reachable commits in commit graph: 711261 Expanding reachable commits in commit graph: 771847 Expanding reachable commits in commit graph: 832826 Expanding reachable commits in commit graph: 894097 Expanding reachable commits in commit graph: 955567 Expanding reachable commits in commit graph: 1016790 Expanding reachable commits in commit graph: 1072041 Expanding reachable commits in commit graph: 1134679 Expanding reachable commits in commit graph: 1198402 Expanding reachable commits in commit graph: 1265631 Expanding reachable commits in commit graph: 1294482, done. Writing out commit graph in 4 passes: 55% (2889620/5177928) Writing out commit graph in 4 passes: 56% (2899640/5177928) Writing out commit graph in 4 passes: 57% (2951419/5177928) Writing out commit graph in 4 passes: 58% (3003199/5177928) Writing out commit graph in 4 passes: 59% (3054978/5177928) Writing out commit graph in 4 passes: 60% (3106757/5177928) Writing out commit graph in 4 passes: 61% (3158537/5177928) Writing out commit graph in 4 passes: 62% (3210316/5177928) Writing out commit graph in 4 passes: 63% (3262095/5177928) Writing out commit graph in 4 passes: 64% (3313874/5177928) Writing out commit graph in 4 passes: 64% (3360324/5177928) Writing out commit graph in 4 passes: 65% (3365654/5177928) Writing out commit graph in 4 passes: 66% (3417433/5177928) Writing out commit graph in 4 passes: 67% (3469212/5177928) Writing out commit graph in 4 passes: 68% (3520992/5177928) Writing out commit graph in 4 passes: 69% (3572771/5177928) Writing out commit graph in 4 passes: 70% (3624550/5177928) Writing out commit graph in 4 passes: 71% (3676329/5177928) Writing out commit graph in 4 passes: 72% (3728109/5177928) Writing out commit graph in 4 passes: 73% (3779888/5177928) Writing out commit graph in 4 passes: 74% (3831667/5177928) Writing out commit graph in 4 passes: 74% (3833309/5177928) Writing out commit graph in 4 passes: 75% (3883446/5177928) Writing out commit graph in 4 passes: 76% (3935226/5177928) Writing out commit graph in 4 passes: 77% (3987005/5177928) Writing out commit graph in 4 passes: 78% (4038784/5177928) Writing out commit graph in 4 passes: 79% (4090564/5177928) Writing out commit graph in 4 passes: 80% (4142343/5177928) Writing out commit graph in 4 passes: 81% (4194122/5177928) Writing out commit graph in 4 passes: 82% (4245901/5177928) Writing out commit graph in 4 passes: 83% (4297681/5177928) Writing out commit graph in 4 passes: 84% (4349460/5177928) Writing out commit graph in 4 passes: 85% (4401239/5177928) Writing out commit graph in 4 passes: 86% (4453019/5177928) Writing out commit graph in 4 passes: 87% (4504798/5177928) Writing out commit graph in 4 passes: 88% (4556577/5177928) Writing out commit graph in 4 passes: 89% (4608356/5177928) Writing out commit graph in 4 passes: 90% (4660136/5177928) Writing out commit graph in 4 passes: 91% (4711915/5177928) Writing out commit graph in 4 passes: 92% (4763694/5177928) Writing out commit graph in 4 passes: 93% (4815474/5177928) Writing out commit graph in 4 passes: 94% (4867253/5177928) Writing out commit graph in 4 passes: 95% (4919032/5177928) Writing out commit graph in 4 passes: 96% (4970811/5177928) Writing out commit graph in 4 passes: 97% (5022591/5177928) Writing out commit graph in 4 passes: 98% (5074370/5177928) Writing out commit graph in 4 passes: 99% (5126149/5177928) Writing out commit graph in 4 passes: 100% (5177928/5177928) Writing out commit graph in 4 passes: 100% (5177928/5177928), done. # git rev-parse -q --verify 2accfdb7eff65f390c4308b0e9cb7c3fe48ad63c^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify 2accfdb7eff65f390c4308b0e9cb7c3fe48ad63c^{commit} 2accfdb7eff65f390c4308b0e9cb7c3fe48ad63c # git checkout -q -f -B kisskb 2accfdb7eff65f390c4308b0e9cb7c3fe48ad63c # git clean -qxdf # < git log -1 # commit 2accfdb7eff65f390c4308b0e9cb7c3fe48ad63c # Author: Linus Torvalds # Date: Mon Jul 29 10:58:28 2024 -0700 # # profiling: attempt to remove per-cpu profile flip buffer # # This is the really old legacy kernel profiling code, which has long # since been obviated by "real profiling" (ie 'prof' and company), and # mainly remains as a source of syzbot reports. # # There are anecdotal reports that people still use it for boot-time # profiling, but it's unlikely that such use would care about the old NUMA # optimizations in this code from 2004 (commit ad02973d42: "profile: 512x # Altix timer interrupt livelock fix" in the BK import archive at [1]) # # So in order to head off future syzbot reports, let's try to simplify # this code and get rid of the per-cpu profile buffers that are quite a # large portion of the complexity footprint of this thing (including CPU # hotplug callbacks etc). # # It's unlikely anybody will actually notice, or possibly, as Thomas put # it: "Only people who indulge in nostalgia will notice :)". # # That said, if it turns out that this code is actually actively used by # somebody, we can always revert this removal. Thus the "attempt" in the # summary line. # # [ Note: in a small nod to "the profiling code can cause NUMA problems", # this also removes the "increment the last entry in the profiling array # on any unknown hits" logic. That would account any program counter in # a module to that single counter location, and might exacerbate any # NUMA cacheline bouncing issues ] # # Link: https://lore.kernel.org/all/CAHk-=wgs52BxT4Zjmjz8aNvHWKxf5_ThBY4bYL1Y6CTaNL2dTw@mail.gmail.com/ # Link: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git [1] # Cc: Thomas Gleixner # Cc: Tetsuo Handa # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 2accfdb7eff65f390c4308b0e9cb7c3fe48ad63c # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- allnoconfig # < make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 160 ARCH=sparc O=/kisskb/build/linus_allnoconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/kernel/fork.c: In function '__do_sys_clone3': /kisskb/src/kernel/fork.c:3072:2: warning: #warning clone3() entry point is missing, please fix [-Wcpp] 3072 | #warning clone3() entry point is missing, please fix | ^~~~~~~ Completed OK # rm -rf /kisskb/build/linus_allnoconfig_sparc64-gcc13 # Build took: 0:06:23.255848