# git gc Expanding reachable commits in commit graph: 29701 Expanding reachable commits in commit graph: 60345 Expanding reachable commits in commit graph: 88141 Expanding reachable commits in commit graph: 119246 Expanding reachable commits in commit graph: 151136 Expanding reachable commits in commit graph: 185438 Expanding reachable commits in commit graph: 218385 Expanding reachable commits in commit graph: 254098 Expanding reachable commits in commit graph: 285292 Expanding reachable commits in commit graph: 322945 Expanding reachable commits in commit graph: 354884 Expanding reachable commits in commit graph: 383254 Expanding reachable commits in commit graph: 410198 Expanding reachable commits in commit graph: 444084 Expanding reachable commits in commit graph: 476204 Expanding reachable commits in commit graph: 505383 Expanding reachable commits in commit graph: 530328 Expanding reachable commits in commit graph: 564163 Expanding reachable commits in commit graph: 598327 Expanding reachable commits in commit graph: 625961 Expanding reachable commits in commit graph: 660254 Expanding reachable commits in commit graph: 692649 Expanding reachable commits in commit graph: 720505 Expanding reachable commits in commit graph: 749973 Expanding reachable commits in commit graph: 783844 Expanding reachable commits in commit graph: 818210 Expanding reachable commits in commit graph: 845009 Expanding reachable commits in commit graph: 872114 Expanding reachable commits in commit graph: 903922 Expanding reachable commits in commit graph: 937149 Expanding reachable commits in commit graph: 971454 Expanding reachable commits in commit graph: 1002835 Expanding reachable commits in commit graph: 1036176 Expanding reachable commits in commit graph: 1053734 Expanding reachable commits in commit graph: 1082139 Expanding reachable commits in commit graph: 1110197 Expanding reachable commits in commit graph: 1143403 Expanding reachable commits in commit graph: 1178908 Expanding reachable commits in commit graph: 1201869, done. Finding extra edges in commit graph: 25% (304750/1201869) Finding extra edges in commit graph: 26% (312486/1201869) Finding extra edges in commit graph: 27% (324505/1201869) Finding extra edges in commit graph: 28% (336524/1201869) Finding extra edges in commit graph: 29% (348543/1201869) Finding extra edges in commit graph: 30% (360561/1201869) Finding extra edges in commit graph: 31% (372580/1201869) Finding extra edges in commit graph: 32% (384599/1201869) Finding extra edges in commit graph: 33% (396617/1201869) Finding extra edges in commit graph: 34% (408636/1201869) Finding extra edges in commit graph: 35% (420655/1201869) Finding extra edges in commit graph: 36% (432673/1201869) Finding extra edges in commit graph: 37% (444692/1201869) Finding extra edges in commit graph: 38% (456711/1201869) Finding extra edges in commit graph: 39% (468729/1201869) Finding extra edges in commit graph: 40% (480748/1201869) Finding extra edges in commit graph: 41% (492767/1201869) Finding extra edges in commit graph: 42% (504785/1201869) Finding extra edges in commit graph: 43% (516804/1201869) Finding extra edges in commit graph: 44% (528823/1201869) Finding extra edges in commit graph: 45% (540842/1201869) Finding extra edges in commit graph: 46% (552860/1201869) Finding extra edges in commit graph: 47% (564879/1201869) Finding extra edges in commit graph: 48% (576898/1201869) Finding extra edges in commit graph: 49% (588916/1201869) Finding extra edges in commit graph: 50% (600935/1201869) Finding extra edges in commit graph: 51% (612954/1201869) Finding extra edges in commit graph: 52% (624972/1201869) Finding extra edges in commit graph: 53% (636991/1201869) Finding extra edges in commit graph: 54% (649010/1201869) Finding extra edges in commit graph: 55% (661028/1201869) Finding extra edges in commit graph: 56% (673047/1201869) Finding extra edges in commit graph: 57% (685066/1201869) Finding extra edges in commit graph: 58% (697085/1201869) Finding extra edges in commit graph: 59% (709103/1201869) Finding extra edges in commit graph: 60% (721122/1201869) Finding extra edges in commit graph: 61% (733141/1201869) Finding extra edges in commit graph: 62% (745159/1201869) Finding extra edges in commit graph: 63% (757178/1201869) Finding extra edges in commit graph: 64% (769197/1201869) Finding extra edges in commit graph: 65% (781215/1201869) Finding extra edges in commit graph: 66% (793234/1201869) Finding extra edges in commit graph: 67% (805253/1201869) Finding extra edges in commit graph: 68% (817271/1201869) Finding extra edges in commit graph: 69% (829290/1201869) Finding extra edges in commit graph: 70% (841309/1201869) Finding extra edges in commit graph: 71% (853327/1201869) Finding extra edges in commit graph: 72% (865346/1201869) Finding extra edges in commit graph: 73% (877365/1201869) Finding extra edges in commit graph: 74% (889384/1201869) Finding extra edges in commit graph: 75% (901402/1201869) Finding extra edges in commit graph: 76% (913421/1201869) Finding extra edges in commit graph: 77% (925440/1201869) Finding extra edges in commit graph: 78% (937458/1201869) Finding extra edges in commit graph: 79% (949477/1201869) Finding extra edges in commit graph: 80% (961496/1201869) Finding extra edges in commit graph: 81% (973514/1201869) Finding extra edges in commit graph: 82% (985533/1201869) Finding extra edges in commit graph: 83% (997552/1201869) Finding extra edges in commit graph: 84% (1009570/1201869) Finding extra edges in commit graph: 85% (1021589/1201869) Finding extra edges in commit graph: 86% (1033608/1201869) Finding extra edges in commit graph: 87% (1045627/1201869) Finding extra edges in commit graph: 88% (1057645/1201869) Finding extra edges in commit graph: 89% (1069664/1201869) Finding extra edges in commit graph: 90% (1081683/1201869) Finding extra edges in commit graph: 91% (1093701/1201869) Finding extra edges in commit graph: 92% (1105720/1201869) Finding extra edges in commit graph: 93% (1117739/1201869) Finding extra edges in commit graph: 94% (1129757/1201869) Finding extra edges in commit graph: 95% (1141776/1201869) Finding extra edges in commit graph: 96% (1153795/1201869) Finding extra edges in commit graph: 97% (1165813/1201869) Finding extra edges in commit graph: 98% (1177832/1201869) Finding extra edges in commit graph: 99% (1189851/1201869) Finding extra edges in commit graph: 100% (1201869/1201869) Finding extra edges in commit graph: 100% (1201869/1201869), done. Writing out commit graph in 4 passes: 50% (2419638/4807476) Writing out commit graph in 4 passes: 51% (2451813/4807476) Writing out commit graph in 4 passes: 52% (2499888/4807476) Writing out commit graph in 4 passes: 53% (2547963/4807476) Writing out commit graph in 4 passes: 53% (2591390/4807476) Writing out commit graph in 4 passes: 54% (2596038/4807476) Writing out commit graph in 4 passes: 55% (2644112/4807476) Writing out commit graph in 4 passes: 56% (2692187/4807476) Writing out commit graph in 4 passes: 57% (2740262/4807476) Writing out commit graph in 4 passes: 57% (2765471/4807476) Writing out commit graph in 4 passes: 58% (2788337/4807476) Writing out commit graph in 4 passes: 59% (2836411/4807476) Writing out commit graph in 4 passes: 60% (2884486/4807476) Writing out commit graph in 4 passes: 61% (2932561/4807476) Writing out commit graph in 4 passes: 61% (2948528/4807476) Writing out commit graph in 4 passes: 62% (2980636/4807476) Writing out commit graph in 4 passes: 63% (3028710/4807476) Writing out commit graph in 4 passes: 64% (3076785/4807476) Writing out commit graph in 4 passes: 65% (3124860/4807476) Writing out commit graph in 4 passes: 65% (3136978/4807476) Writing out commit graph in 4 passes: 66% (3172935/4807476) Writing out commit graph in 4 passes: 67% (3221009/4807476) Writing out commit graph in 4 passes: 68% (3269084/4807476) Writing out commit graph in 4 passes: 69% (3317159/4807476) Writing out commit graph in 4 passes: 69% (3326950/4807476) Writing out commit graph in 4 passes: 70% (3365234/4807476) Writing out commit graph in 4 passes: 71% (3413308/4807476) Writing out commit graph in 4 passes: 72% (3461383/4807476) Writing out commit graph in 4 passes: 73% (3509458/4807476) Writing out commit graph in 4 passes: 73% (3513319/4807476) Writing out commit graph in 4 passes: 74% (3557533/4807476) Writing out commit graph in 4 passes: 75% (3605607/4807476) Writing out commit graph in 4 passes: 76% (3653682/4807476) Writing out commit graph in 4 passes: 77% (3701757/4807476) Writing out commit graph in 4 passes: 78% (3749832/4807476) Writing out commit graph in 4 passes: 79% (3797907/4807476) Writing out commit graph in 4 passes: 80% (3845981/4807476) Writing out commit graph in 4 passes: 81% (3894056/4807476) Writing out commit graph in 4 passes: 82% (3942131/4807476) Writing out commit graph in 4 passes: 83% (3990206/4807476) Writing out commit graph in 4 passes: 84% (4038280/4807476) Writing out commit graph in 4 passes: 85% (4086355/4807476) Writing out commit graph in 4 passes: 86% (4134430/4807476) Writing out commit graph in 4 passes: 87% (4182505/4807476) Writing out commit graph in 4 passes: 88% (4230579/4807476) Writing out commit graph in 4 passes: 89% (4278654/4807476) Writing out commit graph in 4 passes: 90% (4326729/4807476) Writing out commit graph in 4 passes: 91% (4374804/4807476) Writing out commit graph in 4 passes: 92% (4422878/4807476) Writing out commit graph in 4 passes: 93% (4470953/4807476) Writing out commit graph in 4 passes: 94% (4519028/4807476) Writing out commit graph in 4 passes: 95% (4567103/4807476) Writing out commit graph in 4 passes: 96% (4615177/4807476) Writing out commit graph in 4 passes: 97% (4663252/4807476) Writing out commit graph in 4 passes: 98% (4711327/4807476) Writing out commit graph in 4 passes: 99% (4759402/4807476) Writing out commit graph in 4 passes: 99% (4775221/4807476) Writing out commit graph in 4 passes: 100% (4807476/4807476) Writing out commit graph in 4 passes: 100% (4807476/4807476), done. # git rev-parse -q --verify 4f9e7fabf8643003afefc172e62dd276686f016e^{commit} 4f9e7fabf8643003afefc172e62dd276686f016e already have revision, skipping fetch # git checkout -q -f -B kisskb 4f9e7fabf8643003afefc172e62dd276686f016e # git clean -qxdf # < git log -1 # commit 4f9e7fabf8643003afefc172e62dd276686f016e # Merge: 14ddccc8a647 e332938e6fc8 # Author: Linus Torvalds # Date: Thu Aug 24 19:39:20 2023 -0700 # # Merge tag 'trace-v6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace # # Pull tracing fixes from Steven Rostedt: # # - Fix ring buffer being permanently disabled due to missed # record_disabled() # # Changing the trace cpu mask will disable the ring buffers for the # CPUs no longer in the mask. But it fails to update the snapshot # buffer. If a snapshot takes place, the accounting for the ring buffer # being disabled is corrupted and this can lead to the ring buffer # being permanently disabled. # # - Add test case for snapshot and cpu mask working together # # - Fix memleak by the function graph tracer not getting closed properly. # # The iterator is used to read the ring buffer. When it opens, it calls # the open function of a tracer, and when it is closed, it calls the # close iteration. While a trace is being read, it is still possible to # change the tracer. # # If this happens between the function graph tracer and the wakeup # tracer (which uses function graph tracing), the tracers are not # closed properly during when the iterator sees the switch, and the # wakeup function did not initialize its private pointer to NULL, which # is used to know if the function graph tracer was the last tracer. It # could be fooled in thinking it is, but then on exit it does not call # the close function of the function graph tracer to clean up its data. # # - Fix synthetic events on big endian machines, by introducing a union # that does the conversions properly. # # - Fix synthetic events from printing out the number of elements in the # stacktrace when it shouldn't. # # - Fix synthetic events stacktrace to not print a bogus value at the # end. # # - Introduce a pipe_cpumask that prevents the trace_pipe files from # being opened by more than one task (file descriptor). # # There was a race found where if splice is called, the iter->ent could # become stale and events could be missed. There's no point reading a # producer/consumer file by more than one task as they will corrupt # each other anyway. Add a cpumask that keeps track of the per_cpu # trace_pipe files as well as the global trace_pipe file that prevents # more than one open of a trace_pipe file that represents the same ring # buffer. This prevents the race from happening. # # - Fix ftrace samples for arm64 to work with older compilers. # # * tag 'trace-v6.5-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: # samples: ftrace: Replace bti assembly with hint for older compiler # tracing: Introduce pipe_cpumask to avoid race on trace_pipes # tracing: Fix memleak due to race between current_tracer and trace # tracing/synthetic: Allocate one additional element for size # tracing/synthetic: Skip first entry for stack traces # tracing/synthetic: Use union instead of casts # selftests/ftrace: Add a basic testcase for snapshot # tracing: Fix cpu buffers unavailable due to 'record_disabled' missed # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 4f9e7fabf8643003afefc172e62dd276686f016e # make -s -j 160 ARCH=mips O=/kisskb/build/linus_64r2el_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- 64r2el_defconfig Using /kisskb/src/arch/mips/configs/generic_defconfig as base Merging /kisskb/src/arch/mips/configs/generic/64r2.config Merging /kisskb/src/arch/mips/configs/generic/el.config Merging /kisskb/src/arch/mips/configs/generic/board-boston.config Merging /kisskb/src/arch/mips/configs/generic/board-marduk.config Merging /kisskb/src/arch/mips/configs/generic/board-ranchu.config Merging /kisskb/src/arch/mips/configs/generic/board-virt.config # < make -s -j 160 ARCH=mips O=/kisskb/build/linus_64r2el_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 160 ARCH=mips O=/kisskb/build/linus_64r2el_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 160 ARCH=mips O=/kisskb/build/linus_64r2el_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- Completed OK # rm -rf /kisskb/build/linus_64r2el_defconfig_mips-gcc8 # Build took: 0:11:12.420371