aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/tick-sched.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-10timekeeping: Use READ/WRITE_ONCE() for tick_do_timer_cpuThomas Gleixner1-14/+22
2024-04-01tick/sched: Fix various kernel-doc warningsRandy Dunlap1-3/+15
2024-02-26tick: Assume timekeeping is correctly handed over upon last offline idle callFrederic Weisbecker1-12/+1
2024-02-26tick: Shut down low-res tick from dying CPUFrederic Weisbecker1-7/+25
2024-02-26tick: Split nohz and highres features from nohz_modeFrederic Weisbecker1-15/+17
2024-02-26tick: Move individual bit features to debuggable mask accessesFrederic Weisbecker1-33/+55
2024-02-26tick: Assume the tick can't be stopped in NOHZ_MODE_INACTIVE modeFrederic Weisbecker1-1/+1
2024-02-26tick/sched: Don't clear ts::next_tick again in can_stop_idle_tick()Frederic Weisbecker1-5/+0
2024-02-26tick/sched: Rename tick_nohz_stop_sched_tick() to tick_nohz_full_stop_tick()Frederic Weisbecker1-2/+2
2024-02-26tick: Use IS_ENABLED() whenever possibleFrederic Weisbecker1-9/+5
2024-02-26tick/sched: Remove useless oneshot ifdefferyFrederic Weisbecker1-5/+1
2024-02-26tick/nohz: Remove duplicate between lowres and highres handlersPeng Liu1-60/+36
2024-02-26tick/nohz: Remove duplicate between tick_nohz_switch_to_nohz() and tick_setup...Peng Liu1-21/+18
2024-02-22tick/sched: Split out jiffies update helper functionRichard Cochran (linutronix GmbH)1-7/+19
2024-02-22timers: Optimization for timer_base_try_to_set_idle()Anna-Maria Behnsen1-1/+1
2024-02-22timers: Move marking timer bases idle into tick_nohz_stop_tick()Anna-Maria Behnsen1-12/+28
2024-02-19tick/sched: Add function description for tick_nohz_next_event()Anna-Maria Behnsen1-0/+10
2024-01-25tick/sched: Preserve number of idle sleeps across CPU hotplug eventsTim Chen1-0/+5
2024-01-19tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplugHeiko Carstens1-0/+5
2023-12-20tick-sched: Warn when next tick seems to be in the pastAnna-Maria Behnsen1-0/+4
2023-12-20tick/sched: Cleanup confusing variablesAnna-Maria Behnsen1-6/+5
2023-12-20tick-sched: Fix function names in commentsAnna-Maria Behnsen1-5/+5
2023-09-29tick/nohz: Update comments some moreIngo Molnar1-76/+74
2023-09-27tick/nohz: Don't shutdown the lowres tick from itselfFrederic Weisbecker1-11/+13
2023-09-27tick/nohz: Update obsolete commentsFrederic Weisbecker1-10/+36
2023-09-27tick/nohz: Rename the tick handlers to more self-explanatory namesFrederic Weisbecker1-4/+4
2023-08-30tick/rcu: Fix false positive "softirq work is pending" messagesPaul Gortmaker1-1/+1
2023-06-26Merge tag 'timers-core-2023-06-26' of ssh://gitolite.kernel.org/pub/scm/linux...Linus Torvalds1-1/+1
2023-06-18tick/rcu: Fix bogus ratelimit conditionWen Yang1-1/+1
2023-06-16tick/common: Align tick period during sched_timer setupThomas Gleixner1-1/+12
2023-04-25Merge tag 'timers-core-2023-04-24' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-72/+63
2023-04-18timers/nohz: Remove middle-function __tick_nohz_idle_stop_tick()Frederic Weisbecker1-12/+8
2023-04-18timers/nohz: Add a comment about broken iowait counter update raceFrederic Weisbecker1-2/+8
2023-04-18timers/nohz: Protect idle/iowait sleep time under seqcountFrederic Weisbecker1-6/+16
2023-04-18timers/nohz: Only ever update sleeptime from idle exitFrederic Weisbecker1-58/+37
2023-04-05rcu: Fix missing TICK_DEP_MASK_RCU_EXP dependency checkZqiang1-0/+5
2023-04-05tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystemJoel Fernandes (Google)1-3/+8
2022-08-02Merge tag 'rcu.2022.07.26a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2022-06-29context_tracking: Rename context_tracking_cpu_set() to ct_cpu_track_user()Frederic Weisbecker1-1/+1
2022-06-27tick/nohz: unexport __init-annotated tick_nohz_full_setup()Masahiro Yamada1-1/+0
2022-05-23Merge tag 'timers-core-2022-05-23' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+10
2022-04-25timers/nohz: Switch to ONESHOT_STOPPED in the low-res handler when the tick i...Nicholas Piggin1-2/+10
2022-04-10tick/sched: Fix non-kernel-doc commentJiapeng Chong1-2/+2
2022-04-10tick/nohz: Use WARN_ON_ONCE() to prevent console saturationPaul Gortmaker1-1/+1
2022-03-07tick/rcu: Stop allowing RCU_SOFTIRQ in idleFrederic Weisbecker1-10/+40
2022-03-07tick/rcu: Remove obsolete rcu_needs_cpu() parametersFrederic Weisbecker1-6/+4
2022-03-07tick: Detect and fix jiffies update stallFrederic Weisbecker1-0/+17
2021-12-02timers/nohz: Last resort update jiffies on nohz_full IRQ entryFrederic Weisbecker1-0/+7
2021-06-28Merge tag 'timers-nohz-2021-06-28' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-41/+88
2021-05-31tick/nohz: Only check for RCU deferred wakeup on user/guest entry when neededFrederic Weisbecker1-0/+1
2021-05-13tick/nohz: Call tick_nohz_task_switch() with interrupts disabledPeter Zijlstra1-6/+1
2021-05-13tick/nohz: Kick only _queued_ task whose tick dependency is updatedMarcelo Tosatti1-2/+17
2021-05-13tick/nohz: Change signal tick dependency to wake up CPUs of member tasksMarcelo Tosatti1-2/+13
2021-05-13tick/nohz: Only wake up a single target cpu when kicking a taskFrederic Weisbecker1-13/+27
2021-05-13tick/nohz: Update idle_exittime on actual idle exitYunfeng Ye1-6/+8
2021-05-13tick/nohz: Remove superflous check for CONFIG_VIRT_CPU_ACCOUNTING_NATIVEFrederic Weisbecker1-2/+0
2021-05-13tick/nohz: Conditionally restart tick on idle exitYunfeng Ye1-15/+27
2021-04-26Merge tag 'pm-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa...Linus Torvalds1-1/+5
2021-04-26Merge tag 'timers-core-2021-04-26' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2021-04-07tick/nohz: Improve tick_nohz_get_next_hrtimer() kerneldocRafael J. Wysocki1-1/+5
2021-03-22timekeeping, clocksource: Fix various typos in commentsIngo Molnar1-1/+1
2021-03-17tick/sched: Prevent false positive softirq pending warnings on RTThomas Gleixner1-1/+1
2020-12-27Merge tag 'timers-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-7/+0
2020-12-16tick/sched: Remove bogus boot "safety" checkThomas Gleixner1-7/+0
2020-12-14Merge tag 'sched-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-4/+2
2020-12-11tick/sched: Make jiffies update quick check more robustThomas Gleixner1-27/+47
2020-11-24irq_work: CleanupPeter Zijlstra1-4/+2
2020-11-19tick: Get rid of tick_periodThomas Gleixner1-11/+11
2020-11-19tick/sched: Release seqcount before invoking calc_load_global()Yunfeng Ye1-1/+11
2020-11-19tick/sched: Optimize tick_do_update_jiffies64() furtherThomas Gleixner1-5/+6
2020-11-19tick/sched: Reduce seqcount held scope in tick_do_update_jiffies64()Yunfeng Ye1-25/+22
2020-11-19tick/sched: Use tick_next_period for lockless quick checkThomas Gleixner1-13/+33
2020-11-19tick: Document protections for tick related dataThomas Gleixner1-1/+3
2020-08-24tick-sched: Clarify "NOHZ: local_softirq_pending" warningPaul E. McKenney1-1/+1
2020-06-29tick/nohz: Narrow down noise while setting current task's tick dependencyFrederic Weisbecker1-7/+15
2020-03-21lockdep: Annotate irq_workSebastian Andrzej Siewior1-0/+1
2020-03-21timekeeping: Split jiffies seqlockThomas Gleixner1-7/+12
2020-01-15tick/sched: Annotate lockless access to last_jiffies_updateEric Dumazet1-5/+9
2019-11-26Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+11
2019-10-29sched/vtime: Rename vtime_accounting_cpu_enabled() to vtime_accounting_enable...Frederic Weisbecker1-1/+1
2019-10-05time: Export tick start/stop functions for rcutorturePaul E. McKenney1-0/+4
2019-10-05nohz: Add TICK_DEP_BIT_RCUFrederic Weisbecker1-0/+7
2019-08-28tick: Mark sched_timer to expire in hard interrupt contextSebastian Andrzej Siewior1-1/+1
2019-08-01tick: Mark tick related hrtimers to expiry in hard interrupt contextSebastian Andrzej Siewior1-6/+9
2019-06-03sched/fair: Remove the rq->cpu_load[] update codeDietmar Eggemann1-2/+0
2019-05-06Merge tag 'pm-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...Linus Torvalds1-0/+12
2019-05-06Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+2
2019-05-03nohz_full: Allow the boot CPU to be nohz_fullNicholas Piggin1-10/+24
2019-04-10cpuidle: Export the next timer expiration for CPUsUlf Hansson1-0/+12
2019-03-23timekeeping: Consistently use unsigned int for seqcount snapshotRasmus Villemoes1-1/+2
2018-11-23hrtimers/tick/clockevents: Remove sloppy license referencesThomas Gleixner1-2/+0
2018-11-23time: Add SPDX license identifiersThomas Gleixner1-0/+1
2018-11-23time: Remove useless filenames in top level commentsThomas Gleixner1-2/+0
2018-10-10tick/sched : Remove redundant cpu_online() checkPeng Hao1-1/+1
2018-07-31nohz: Fix local_timer_softirq_pending()Anna-Maria Gleixner1-1/+1
2018-04-26Revert: Unify CLOCK_MONOTONIC and CLOCK_BOOTTIMEThomas Gleixner1-9/+0
2018-04-26tick/sched: Do not mess with an enqueued hrtimerThomas Gleixner1-5/+5
2018-04-11Merge branches 'pm-cpuidle' and 'pm-qos'Rafael J. Wysocki1-73/+177
2018-04-10tick-sched: avoid a maybe-uninitialized warningArnd Bergmann1-3/+6
2018-04-09nohz: Avoid duplication of code related to got_idle_tickRafael J. Wysocki1-10/+6
2018-04-09nohz: Gather tick_sched booleans under a common flag fieldFrederic Weisbecker1-5/+7
2018-04-09cpuidle: menu: Refine idle state selection for running tickRafael J. Wysocki1-6/+6
2018-04-09sched: idle: Select idle state before stopping the tickRafael J. Wysocki1-12/+49
2018-04-07time: tick-sched: Split tick_nohz_stop_sched_tick()Rafael J. Wysocki1-46/+78
2018-04-06cpuidle: Return nohz hint from cpuidle_select()Rafael J. Wysocki1-0/+20
2018-04-05sched: idle: Do not stop the tick upfront in the idle loopRafael J. Wysocki1-8/+18
2018-04-05time: tick-sched: Reorganize idle tick management codeRafael J. Wysocki1-21/+25
2018-04-04Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+9
2018-04-02Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-14/+8
2018-03-13timekeeping: Make the MONOTONIC clock behave like the BOOTTIME clockThomas Gleixner1-0/+9
2018-03-09sched/nohz: Clean up nohz enter/exitPeter Zijlstra1-7/+0
2018-02-21sched/nohz: Remove the 1 Hz tick codeFrederic Weisbecker1-6/+0
2018-02-21nohz: Allow to check if remote CPU tick is stoppedFrederic Weisbecker1-0/+7
2018-02-21nohz: Convert tick_nohz_tick_stopped() to boolFrederic Weisbecker1-1/+1
2018-02-15sched/isolation: Eliminate NO_HZ_FULL_ALLPaul E. McKenney1-20/+2
2018-01-16hrtimer: Optimize the hrtimer code by using static keys for migration_enable/...Thomas Gleixner1-1/+1
2017-12-29nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()Thomas Gleixner1-2/+17
2017-12-28cpufreq: schedutil: Use idle_calls counter of the remote CPUJoel Fernandes1-0/+13
2017-11-13Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-28/+5
2017-11-08timers/nohz: Use lockdep to assert IRQs are disabled/enabledFrederic Weisbecker1-3/+2
2017-10-27sched/isolation: Handle the nohz_full= parameterFrederic Weisbecker1-10/+3
2017-10-27sched/isolation: Move housekeeping related code to its own fileFrederic Weisbecker1-18/+0
2017-10-10sched/idle: Move quiet_vmstate() into the NOHZ codePeter Zijlstra1-0/+2
2017-07-03Merge branch 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-23/+40
2017-06-22nohz: Move idle balancer registration to the idle pathFrederic Weisbecker1-2/+3
2017-06-22sched/loadavg: Generalize "_idle" naming to "_nohz"Frederic Weisbecker1-2/+2
2017-06-13nohz: Fix spurious warning when hrtimer and clockevent get out of syncFrederic Weisbecker1-2/+4
2017-06-05nohz: Fix buggy tick delay on IRQ stormsFrederic Weisbecker1-19/+2
2017-05-30nohz: Reset next_tick cache even when the timer has no regsFrederic Weisbecker1-0/+2
2017-05-17nohz: Fix collision between tick and other hrtimers, againFrederic Weisbecker1-6/+31
2017-05-17nohz: Add hrtimer sanity checkFrederic Weisbecker1-2/+7
2017-05-15sched/clock: Remove unused argument to sched_clock_idle_wakeup_event()Peter Zijlstra1-1/+1
2017-03-23cpufreq: schedutil: Avoid reducing frequency of busy CPUs prematurelyRafael J. Wysocki1-0/+12
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-1/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-02-16Revert "nohz: Fix collision between tick and other hrtimers"Linus Torvalds1-12/+2
2017-02-10tick/nohz: Fix possible missing clock reprog after tick soft restartFrederic Weisbecker1-0/+5
2017-01-11nohz: Fix collision between tick and other hrtimersFrederic Weisbecker1-2/+7
2016-12-25ktime: Get rid of the unionThomas Gleixner1-11/+11
2016-11-22sched/nohz: Convert to hotplug state machineSebastian Andrzej Siewior1-19/+14
2016-09-13tick/nohz: Prevent stopping the tick on an offline CPUWanpeng Li1-2/+5
2016-09-02tick/nohz: Fix softlockup on scheduler stalls in kvm guestWanpeng Li1-1/+2
2016-07-19tick/nohz: Optimize nohz idle enterGaurav Jindal1-2/+1
2016-07-07Merge branch 'timers/fast-wheel' into timers/coreIngo Molnar1-32/+13
2016-07-07timers: Forward the wheel clock whenever possibleThomas Gleixner1-0/+12
2016-07-07timers/nohz: Remove pointless tick_nohz_kick_tick() functionThomas Gleixner1-32/+1
2016-07-01timers/nohz: Capitalize 'CPU' consistentlyIngo Molnar1-21/+21
2016-07-01timers/nohz: Fix several typosWei Jiangang1-5/+5
2016-05-16Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-4/+5
2016-05-05locking/atomics: Flip atomic_fetch_or() argumentsPeter Zijlstra1-2/+2
2016-04-23sched/fair: Correctly handle nohz ticks CPU load accountingFrederic Weisbecker1-4/+5
2016-04-23sched/fair: Gather CPU load functions under a more conventional namespaceFrederic Weisbecker1-1/+1
2016-03-29timers/nohz: Convert tick dependency mask to atomic_tFrederic Weisbecker1-31/+30
2016-03-22kernel/...: convert pr_warning to pr_warnJoe Perches1-4/+4
2016-03-17param: convert some "on"/"off" users to strtoboolKees Cook1-8/+2
2016-03-02sched-clock: Migrate to use new tick dependency mask modelFrederic Weisbecker1-19/+0
2016-03-02posix-cpu-timers: Migrate to use new tick dependency mask modelFrederic Weisbecker1-6/+1
2016-03-02sched: Migrate sched to use new tick dependency mask modelFrederic Weisbecker1-5/+0
2016-03-02perf: Migrate perf to use new tick dependency mask modelFrederic Weisbecker1-7/+1
2016-03-02nohz: Use enum code for tick stop failure tracing messageFrederic Weisbecker1-9/+9
2016-03-02nohz: New tick dependency maskFrederic Weisbecker1-7/+143
2016-02-13nohz: Implement wide kick on top of irq workFrederic Weisbecker1-8/+4
2016-01-31Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-7/+9
2016-01-27tick/nohz: Set the correct expiry when switching to nohz/lowres modeWanpeng Li1-2/+2
2016-01-26tick/sched: Hide unused oneshot timer codeArnd Bergmann1-5/+7
2016-01-21Merge branch 'pm-cpuidle'Rafael J. Wysocki1-1/+1
2016-01-15time: nohz: Expose tick_nohz_enabledJean Delvare1-1/+1
2016-01-11Merge branch 'for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-3/+3
2016-01-11Merge branches 'timers-core-for-linus' and 'timers-urgent-for-linus' of git:/...Linus Torvalds1-2/+18
2015-12-08watchdog: introduce touch_softlockup_watchdog_sched()Tejun Heo1-3/+3
2015-12-04sched/cputime: Rename vtime_accounting_enabled() to vtime_accounting_cpu_enab...Frederic Weisbecker1-1/+1
2015-11-25nohz: Clarify magic in tick_nohz_stop_sched_tick()Peter Zijlstra1-2/+18
2015-11-23sched/fair: Consider missed ticks in NOHZ_FULL in update_cpu_load_nohz()Byungchul Park1-4/+4
2015-09-02nohz: Assert existing housekeepers when nohz full enabledFrederic Weisbecker1-4/+11
2015-07-29nohz: Remove useless argument on tick_nohz_task_switch()Frederic Weisbecker1-1/+1
2015-07-29nohz: Move tick_nohz_restart_sched_tick() above its usersFrederic Weisbecker1-18/+16
2015-07-29nohz: Restart nohz full tick from irq exitFrederic Weisbecker1-24/+10
2015-07-29nohz: Remove idle task special caseFrederic Weisbecker1-5/+3
2015-06-19timer: Minimize nohz off overheadThomas Gleixner1-1/+1
2015-06-19timer: Reduce timer migration overhead if disabledThomas Gleixner1-11/+14
2015-05-07nohz: Fix !HIGH_RES_TIMERS hangThomas Gleixner1-6/+3
2015-04-22tick: Nohz: Rework next timer evaluationThomas Gleixner1-60/+49
2015-04-22tick: Sched: Restructure codeThomas Gleixner1-90/+81
2015-04-22tick: sched: Force tick interrupt and get rid of softirq magicThomas Gleixner1-54/+29
2015-04-22tick: sched: Remove hrtimer_active() checksThomas Gleixner1-15/+4
2015-04-01tick: Move core only declarations and functions to coreThomas Gleixner1-1/+6
2015-02-13time: use %*pb[l] to print bitmaps including cpumasks and nodemasksTejun Heo1-9/+2
2014-12-19Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+0
2014-12-19tick/powerclamp: Remove tick_nohz_idle abuseThomas Gleixner1-2/+0
2014-12-11Merge branch 'for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/p...Linus Torvalds1-1/+1
2014-11-03rcu: Remove "cpu" argument to rcu_needs_cpu()Paul E. McKenney1-1/+1
2014-10-29percpu: Convert remaining __get_cpu_var uses in 3.18-rcXChristoph Lameter1-1/+1
2014-10-15Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-12/+12
2014-10-14Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds1-1/+1
2014-10-09Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+8
2014-10-09s390/nohz: use a per-cpu flag for arch_needs_cpuMartin Schwidefsky1-1/+1
2014-09-13nohz: nohz full depends on irq work self IPI supportFrederic Weisbecker1-0/+14