# git gc Expanding reachable commits in commit graph: 87230 Expanding reachable commits in commit graph: 182430 Expanding reachable commits in commit graph: 277815 Expanding reachable commits in commit graph: 379160 Expanding reachable commits in commit graph: 483116 Expanding reachable commits in commit graph: 578700 Expanding reachable commits in commit graph: 688573 Expanding reachable commits in commit graph: 801008 Expanding reachable commits in commit graph: 915315 Expanding reachable commits in commit graph: 1033772 Expanding reachable commits in commit graph: 1129345 Expanding reachable commits in commit graph: 1251583, done. Writing out commit graph in 4 passes: 60% (3006845/5006332) Writing out commit graph in 4 passes: 61% (3053863/5006332) Writing out commit graph in 4 passes: 62% (3103926/5006332) Writing out commit graph in 4 passes: 63% (3153990/5006332) Writing out commit graph in 4 passes: 64% (3204053/5006332) Writing out commit graph in 4 passes: 65% (3254116/5006332) Writing out commit graph in 4 passes: 66% (3304180/5006332) Writing out commit graph in 4 passes: 67% (3354243/5006332) Writing out commit graph in 4 passes: 68% (3404306/5006332) Writing out commit graph in 4 passes: 69% (3454370/5006332) Writing out commit graph in 4 passes: 70% (3504433/5006332) Writing out commit graph in 4 passes: 71% (3554496/5006332) Writing out commit graph in 4 passes: 72% (3604560/5006332) Writing out commit graph in 4 passes: 72% (3624888/5006332) Writing out commit graph in 4 passes: 73% (3654623/5006332) Writing out commit graph in 4 passes: 74% (3704686/5006332) Writing out commit graph in 4 passes: 75% (3754749/5006332) Writing out commit graph in 4 passes: 76% (3804813/5006332) Writing out commit graph in 4 passes: 77% (3854876/5006332) Writing out commit graph in 4 passes: 78% (3904939/5006332) Writing out commit graph in 4 passes: 79% (3955003/5006332) Writing out commit graph in 4 passes: 80% (4005066/5006332) Writing out commit graph in 4 passes: 81% (4055129/5006332) Writing out commit graph in 4 passes: 82% (4105193/5006332) Writing out commit graph in 4 passes: 83% (4155256/5006332) Writing out commit graph in 4 passes: 84% (4205319/5006332) Writing out commit graph in 4 passes: 85% (4255383/5006332) Writing out commit graph in 4 passes: 86% (4305446/5006332) Writing out commit graph in 4 passes: 87% (4355509/5006332) Writing out commit graph in 4 passes: 88% (4405573/5006332) Writing out commit graph in 4 passes: 89% (4455636/5006332) Writing out commit graph in 4 passes: 90% (4505699/5006332) Writing out commit graph in 4 passes: 91% (4555763/5006332) Writing out commit graph in 4 passes: 92% (4605826/5006332) Writing out commit graph in 4 passes: 93% (4655889/5006332) Writing out commit graph in 4 passes: 94% (4705953/5006332) Writing out commit graph in 4 passes: 95% (4756016/5006332) Writing out commit graph in 4 passes: 96% (4806079/5006332) Writing out commit graph in 4 passes: 97% (4856143/5006332) Writing out commit graph in 4 passes: 98% (4906206/5006332) Writing out commit graph in 4 passes: 99% (4956269/5006332) Writing out commit graph in 4 passes: 100% (5006332/5006332) Writing out commit graph in 4 passes: 100% (5006332/5006332), done. # git rev-parse -q --verify d08c407f715f651e7ea40b3a037be46dd2b11e4c^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify d08c407f715f651e7ea40b3a037be46dd2b11e4c^{commit} d08c407f715f651e7ea40b3a037be46dd2b11e4c # git checkout -q -f -B kisskb d08c407f715f651e7ea40b3a037be46dd2b11e4c # git clean -qxdf # < git log -1 # commit d08c407f715f651e7ea40b3a037be46dd2b11e4c # Merge: 80a76c60e5f6 8ca1836769d7 # Author: Linus Torvalds # Date: Mon Mar 11 14:38:26 2024 -0700 # # Merge tag 'timers-core-2024-03-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # # Pull timer updates from Thomas Gleixner: # "A large set of updates and features for timers and timekeeping: # # - The hierarchical timer pull model # # When timer wheel timers are armed they are placed into the timer # wheel of a CPU which is likely to be busy at the time of expiry. # This is done to avoid wakeups on potentially idle CPUs. # # This is wrong in several aspects: # # 1) The heuristics to select the target CPU are wrong by # definition as the chance to get the prediction right is # close to zero. # # 2) Due to #1 it is possible that timers are accumulated on # a single target CPU # # 3) The required computation in the enqueue path is just overhead # for dubious value especially under the consideration that the # vast majority of timer wheel timers are either canceled or # rearmed before they expire. # # The timer pull model avoids the above by removing the target # computation on enqueue and queueing timers always on the CPU on # which they get armed. # # This is achieved by having separate wheels for CPU pinned timers # and global timers which do not care about where they expire. # # As long as a CPU is busy it handles both the pinned and the global # timers which are queued on the CPU local timer wheels. # # When a CPU goes idle it evaluates its own timer wheels: # # - If the first expiring timer is a pinned timer, then the global # timers can be ignored as the CPU will wake up before they # expire. # # - If the first expiring timer is a global timer, then the expiry # time is propagated into the timer pull hierarchy and the CPU # makes sure to wake up for the first pinned timer. # # The timer pull hierarchy organizes CPUs in groups of eight at the # lowest level and at the next levels groups of eight groups up to # the point where no further aggregation of groups is required, i.e. # the number of levels is log8(NR_CPUS). The magic number of eight # has been established by experimention, but can be adjusted if # needed. # # In each group one busy CPU acts as the migrator. It's only one CPU # to avoid lock contention on remote timer wheels. # # The migrator CPU checks in its own timer wheel handling whether # there are other CPUs in the group which have gone idle and have # global timers to expire. If there are global timers to expire, the # migrator locks the remote CPU timer wheel and handles the expiry. # # Depending on the group level in the hierarchy this handling can # require to walk the hierarchy downwards to the CPU level. # # Special care is taken when the last CPU goes idle. At this point # the CPU is the systemwide migrator at the top of the hierarchy and # it therefore cannot delegate to the hierarchy. It needs to arm its # own timer device to expire either at the first expiring timer in # the hierarchy or at the first CPU local timer, which ever expires # first. # # This completely removes the overhead from the enqueue path, which # is e.g. for networking a true hotpath and trades it for a slightly # more complex idle path. # # This has been in development for a couple of years and the final # series has been extensively tested by various teams from silicon # vendors and ran through extensive CI. # # There have been slight performance improvements observed on network # centric workloads and an Intel team confirmed that this allows them # to power down a die completely on a mult-die socket for the first # time in a mostly idle scenario. # # There is only one outstanding ~1.5% regression on a specific # overloaded netperf test which is currently investigated, but the # rest is either positive or neutral performance wise and positive on # the power management side. # # - Fixes for the timekeeping interpolation code for cross-timestamps: # # cross-timestamps are used for PTP to get snapshots from hardware # timers and interpolated them back to clock MONOTONIC. The changes # address a few corner cases in the interpolation code which got the # math and logic wrong. # # - Simplifcation of the clocksource watchdog retry logic to # automatically adjust to handle larger systems correctly instead of # having more incomprehensible command line parameters. # # - Treewide consolidation of the VDSO data structures. # # - The usual small improvements and cleanups all over the place" # # * tag 'timers-core-2024-03-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (62 commits) # timer/migration: Fix quick check reporting late expiry # tick/sched: Fix build failure for CONFIG_NO_HZ_COMMON=n # vdso/datapage: Quick fix - use asm/page-def.h for ARM64 # timers: Assert no next dyntick timer look-up while CPU is offline # tick: Assume timekeeping is correctly handed over upon last offline idle call # tick: Shut down low-res tick from dying CPU # tick: Split nohz and highres features from nohz_mode # tick: Move individual bit features to debuggable mask accesses # tick: Move got_idle_tick away from common flags # tick: Assume the tick can't be stopped in NOHZ_MODE_INACTIVE mode # tick: Move broadcast cancellation up to CPUHP_AP_TICK_DYING # tick: Move tick cancellation up to CPUHP_AP_TICK_DYING # tick: Start centralizing tick related CPU hotplug operations # tick/sched: Don't clear ts::next_tick again in can_stop_idle_tick() # tick/sched: Rename tick_nohz_stop_sched_tick() to tick_nohz_full_stop_tick() # tick: Use IS_ENABLED() whenever possible # tick/sched: Remove useless oneshot ifdeffery # tick/nohz: Remove duplicate between lowres and highres handlers # tick/nohz: Remove duplicate between tick_nohz_switch_to_nohz() and tick_setup_sched_timer() # hrtimer: Select housekeeping CPU during migration # ... # < /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 d08c407f715f651e7ea40b3a037be46dd2b11e4c # make -s -j 32 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 32 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 32 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 32 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/arch/sparc/lib/cmpdi2.c:6:11: warning: no previous prototype for '__cmpdi2' [-Wmissing-prototypes] 6 | word_type __cmpdi2(long long a, long long b) | ^~~~~~~~ /kisskb/src/arch/sparc/lib/ucmpdi2.c:5:11: warning: no previous prototype for '__ucmpdi2' [-Wmissing-prototypes] 5 | word_type __ucmpdi2(unsigned long long a, unsigned long long b) | ^~~~~~~~~ /kisskb/src/kernel/dma.c:70:5: warning: no previous prototype for 'request_dma' [-Wmissing-prototypes] 70 | int request_dma(unsigned int dmanr, const char * device_id) | ^~~~~~~~~~~ /kisskb/src/kernel/dma.c:88:6: warning: no previous prototype for 'free_dma' [-Wmissing-prototypes] 88 | void free_dma(unsigned int dmanr) | ^~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_allnoconfig_sparc64-gcc13 # Build took: 0:03:48.296280