# git gc Expanding reachable commits in commit graph: 77580 Expanding reachable commits in commit graph: 160961 Expanding reachable commits in commit graph: 248571 Expanding reachable commits in commit graph: 331718 Expanding reachable commits in commit graph: 420511 Expanding reachable commits in commit graph: 511355 Expanding reachable commits in commit graph: 592526 Expanding reachable commits in commit graph: 687532 Expanding reachable commits in commit graph: 783648 Expanding reachable commits in commit graph: 881025 Expanding reachable commits in commit graph: 981164 Expanding reachable commits in commit graph: 1055870 Expanding reachable commits in commit graph: 1162259 Expanding reachable commits in commit graph: 1269754 Expanding reachable commits in commit graph: 1294482, done. Writing out commit graph in 4 passes: 59% (3104486/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: 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: 72% (3766180/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: 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-8.5.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 2accfdb7eff65f390c4308b0e9cb7c3fe48ad63c # make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- sun3_defconfig # < make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 40 ARCH=m68k O=/kisskb/build/linus_sun3_defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/m68k-linux/bin/m68k-linux- Completed OK # rm -rf /kisskb/build/linus_sun3_defconfig_m68k-gcc8 # Build took: 0:05:05.474141