aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/core.c
AgeCommit message (Expand)AuthorFilesLines
7 hoursMerge tag 'sched-urgent-2024-05-18' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2 daysMerge tag 'sysctl-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
3 dayssched/core: Fix incorrect initialization of the 'burst' parameter in cpu_max_...Cheng Yu1-1/+1
2024-04-24sched/pelt: Remove shift of thermal clockVincent Guittot1-1/+1
2024-04-24sched/cpufreq: Rename arch_update_thermal_pressure() => arch_update_hw_pressu...Vincent Guittot1-4/+4
2024-04-24scheduler: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-1/+0
2024-03-25Merge tag 'v6.9-rc1' into sched/core, to pick up fixes and to refresh the branchIngo Molnar1-3/+13
2024-03-22Merge tag 'riscv-for-linus-6.9-mw2' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-3/+13
2024-03-12sched/balancing: Rename trigger_load_balance() => sched_balance_trigger()Ingo Molnar1-1/+1
2024-03-12sched/balancing: Rename scheduler_tick() => sched_tick()Ingo Molnar1-2/+2
2024-03-11Merge tag 'sched-core-2024-03-11' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+1
2024-02-24sched: Add a new function to compare if two cpus have the same capacityQais Yousef1-0/+11
2024-02-16sched/core: Simplify code by removing duplicate #ifdefsShrikanth Hegde1-3/+1
2024-02-15membarrier: riscv: Provide core serializing commandAndrea Parri1-0/+4
2024-02-15membarrier: Create Documentation/scheduler/membarrier.rstAndrea Parri1-1/+6
2024-02-15membarrier: riscv: Add full memory barrier in switch_mm()Andrea Parri1-2/+3
2024-02-05block: update cached timestamp post schedule/preemptionJens Axboe1-2/+4
2024-01-10Merge tag 'header_cleanup-2024-01-10' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-0/+1
2023-12-27rseq: Split out rseq.h from sched.hKent Overstreet1-0/+1
2023-11-23sched/cpufreq: Rework schedutil governor performance estimationVincent Guittot1-52/+38
2023-11-15sched/timers: Explain why idle task schedules out on remote timer enqueueFrederic Weisbecker1-0/+22
2023-11-15sched/deadline: Introduce deadline serversPeter Zijlstra1-0/+17
2023-11-15sched/deadline: Collect sched_dl_entity initializationPeter Zijlstra1-4/+1
2023-11-15sched: Use WRITE_ONCE() for p->on_rqPaul E. McKenney1-2/+4
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2023-11-01Merge tag 'asm-generic-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-26/+3
2023-10-30Merge tag 'sched-core-2023-10-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-371/+274
2023-10-24sched/fair: Remove SIS_PROPPeter Zijlstra1-5/+0
2023-10-24sched: Add cpus_share_resources APIBarry Song1-0/+12
2023-10-24sched/core: Fix RQCF_ACT_SKIP leakHao Jia1-4/+1
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan1-1/+1
2023-10-13sched: Fix stop_one_cpu_nowait() vs hotplugPeter Zijlstra1-2/+8
2023-10-09Merge tag 'v6.6-rc5' into locking/core, to pick up fixesIngo Molnar1-1/+1
2023-10-09sched/topology: Consolidate and clean up access to a CPU's max compute capacityVincent Guittot1-1/+1
2023-10-07sched/debug: Print 'tgid' in sched_show_task()Yajun Deng1-3/+3
2023-10-07sched/core: Update stale comment in try_to_wake_up()Ingo Molnar1-1/+1
2023-10-07Merge branch 'sched/urgent' into sched/core, to pick up fixes and refresh the...Ingo Molnar1-1/+1
2023-10-03sched/headers: Remove duplicate header inclusionsYu Liao1-1/+0
2023-09-29sched/debug: Add new tracepoint to track compute energy computationQais Yousef1-0/+1
2023-09-24sched/core: Refactor the task_flags check for worker sleeping in sched_submit...Wang Jinchao1-6/+4
2023-09-22sched/debug: Avoid checking in_atomic_preempt_off() twice in schedule_debug()Liming Wu1-2/+1
2023-09-20sched: Provide rt_mutex specific scheduler helpersPeter Zijlstra1-4/+32
2023-09-20sched: Extract __schedule_loop()Thomas Gleixner1-10/+11
2023-09-20sched: Constrain locks in sched_submit_work()Peter Zijlstra1-0/+9
2023-09-19kernel/sched: Modify initial boot task idle setupLiam R. Howlett1-1/+1
2023-09-19sched/fair: Rename check_preempt_curr() to wakeup_preempt()Ingo Molnar1-7/+7
2023-09-18freezer,sched: Use saved_state to reduce some spurious wakeupsElliot Berman1-9/+14
2023-09-18sched/core: Remove ifdeffery for saved_stateElliot Berman1-6/+2
2023-09-15sched/core: Use do-while instead of for loop in set_nr_if_polling()Uros Bizjak1-4/+3
2023-09-13sched: Misc cleanupsPeter Zijlstra1-104/+63
2023-09-13sched: Simplify tg_set_cfs_bandwidth()Peter Zijlstra1-19/+19
2023-09-13sched: Simplify sched_move_task()Peter Zijlstra1-6/+4
2023-09-13sched: Simplify sched_rr_get_interval()Peter Zijlstra1-22/+14
2023-09-13sched: Simplify yield_to()Peter Zijlstra1-38/+29
2023-09-13sched: Simplify sched_{set,get}affinity()Peter Zijlstra1-39/+14
2023-09-13sched: Simplify syscallsPeter Zijlstra1-86/+68
2023-09-13sched: Simplify set_user_nice()Peter Zijlstra1-7/+6
2023-09-11arch: Remove Itanium (IA-64) architectureArd Biesheuvel1-26/+3
2023-08-28Merge tag 'sched-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-224/+272
2023-08-14sched: Simplify sched_core_cpu_{starting,deactivate}()Peter Zijlstra1-15/+12
2023-08-14sched: Simplify try_steal_cookie()Peter Zijlstra1-12/+9
2023-08-14sched: Simplify sched_tick_remote()Peter Zijlstra1-23/+16
2023-08-14sched: Simplify sched_exec()Peter Zijlstra1-12/+9
2023-08-14sched: Simplify ttwu()Peter Zijlstra1-112/+109
2023-08-14sched: Simplify wake_up_if_idle()Peter Zijlstra1-14/+6
2023-08-14sched: Simplify: migrate_swap_stop()Peter Zijlstra1-16/+7
2023-08-14sched: Simplify sysctl_sched_uclamp_handler()Peter Zijlstra1-7/+4
2023-08-14sched: Simplify get_nohz_timer_target()Peter Zijlstra1-9/+6
2023-08-10Merge branch 'sched/eevdf' into sched/coreIngo Molnar1-0/+2
2023-08-02sched/fair: Block nohz tick_stop when cfs bandwidth in usePhil Auld1-0/+26
2023-08-02sched, cgroup: Restore meaning to hierarchical_quotaPhil Auld1-4/+9
2023-07-19sched/debug: Rename sysctl_sched_min_granularity to sysctl_sched_base_slicePeter Zijlstra1-1/+1
2023-07-19sched/fair: Implement an EEVDF-like scheduling policyPeter Zijlstra1-0/+1
2023-07-19sched/fair: Add lag based placementPeter Zijlstra1-0/+1
2023-07-17sched: add a few helpers to wake up tasks on the current cpuAndrei Vagin1-1/+1
2023-07-17sched: add WF_CURRENT_CPU and externise ttwuPeter Oskolkov1-2/+1
2023-07-13sched/core: introduce sched_core_idle_cpu()Cruz Zhao1-0/+13
2023-07-13sched: add throttled time stat for throttled childrenJosh Don1-0/+44
2023-06-27Merge tag 'cgroup-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-23/+18
2023-06-27Merge tag 'wq-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-0/+3
2023-06-27Merge tag 'sched-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-120/+158
2023-06-16sched/core: Avoid double calling update_rq_clock() in __balance_push_cpu_stop()Hao Jia1-3/+4
2023-06-16sched/core: Fixed missing rq clock update before calling set_rq_offline()Hao Jia1-1/+1
2023-06-05sched: Consider task_struct::saved_state in wait_task_inactive()Peter Zijlstra1-11/+48
2023-06-05sched: Unconditionally use full-fat wait_task_inactive()Peter Zijlstra1-108/+108
2023-05-17workqueue: Automatically mark CPU-hogging work items CPU_INTENSIVETejun Heo1-0/+3
2023-05-08cgroup/cpuset: Free DL BW in case can_attach() failsDietmar Eggemann1-15/+2
2023-05-08sched/deadline: Create DL BW alloc, free & check overflow interfaceDietmar Eggemann1-2/+2
2023-05-08sched/cpuset: Bring back cpuset_mutexJuri Lelli1-7/+15
2023-05-08sched: fix cid_lock kernel-doc warningsRandy Dunlap1-2/+2
2023-04-28Merge tag 'smp-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-6/+16
2023-04-28Merge tag 'sched-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-47/+622
2023-04-27Merge tag 'mm-nonmm-stable-2023-04-27-16-01' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+1
2023-04-21sched: Fix performance regression introduced by mm_cidMathieu Desnoyers1-17/+506
2023-04-21Merge branch 'v6.3-rc7'Peter Zijlstra1-0/+3
2023-04-18delayacct: track delays from IRQ/SOFTIRQYang Yang1-0/+1
2023-04-12sched/core: Make sched_dynamic_mutex staticJosh Poimboeuf1-1/+1
2023-03-28lazy tlb: introduce lazy tlb mm refcount helper functionsNicholas Piggin1-7/+8
2023-03-24trace: Add trace_ipi_send_cpu()Peter Zijlstra1-0/+1
2023-03-24sched, smp: Trace smp callback causing an IPIValentin Schneider1-7/+11
2023-03-24sched, smp: Trace IPIs sent via send_call_function_single_ipi()Valentin Schneider1-2/+7
2023-03-22livepatch,sched: Add livepatch task switching to cond_resched()Josh Poimboeuf1-8/+56
2023-03-22sched/core: Reduce cost of sched_move_task when config autogroupwuchi1-3/+19
2023-03-22sched/core: Avoid selecting the task that is throttled to run when core-sched...Hao Jia1-19/+41
2023-03-21sched/fair: Sanitize vruntime of entity being migratedVincent Guittot1-0/+3
2023-03-14sched_getaffinity: don't assume 'cpumask_size()' is fully initializedLinus Torvalds1-2/+2
2023-02-21Merge tag 'rcu.2023.02.10a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+5
2023-02-20Merge tag 'sched-core-2023-02-20' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-38/+96
2023-02-13sched/core: Fix a missed update of user_cpus_ptrWaiman Long1-1/+4
2023-01-31Merge tag 'v6.2-rc6' into sched/core, to pick up fixesIngo Molnar1-10/+67
2023-01-16sched/core: Fix NULL pointer access fault in sched_setaffinity() with non-SMP...Waiman Long1-2/+8
2023-01-09sched/core: Use kfree_rcu() in do_set_cpus_allowed()Waiman Long1-4/+29
2023-01-09sched/core: Fix use-after-free bug in dup_user_cpus_ptr()Waiman Long1-5/+29
2023-01-07sched/core: Fix arch_scale_freq_tick() on tickless systemsYair Podemsky1-1/+3
2023-01-07sched/core: Reorganize ttwu_do_wakeup() and ttwu_do_activate()Chengming Zhou1-33/+31
2023-01-07sched/core: Micro-optimize ttwu_runnable()Chengming Zhou1-3/+10
2023-01-05sched: Add helper nr_context_switches_cpu()Zhen Lei1-0/+5
2023-01-02sched/rseq: Fix concurrency ID handling of usermodehelper kthreadsMathieu Desnoyers1-3/+3
2022-12-27sched/core: Adjusting the order of scanning CPUHao Jia1-1/+1
2022-12-27sched: Make const-safeMatthew Wilcox (Oracle)1-3/+5
2022-12-27sched: Introduce per-memory-map concurrency IDMathieu Desnoyers1-0/+51
2022-12-14Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+1
2022-12-13Merge tag 'sysctl-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+12
2022-12-12Merge tag 'sched-core-2022-12-12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-96/+163
2022-12-02panic: Consolidate open-coded panic_on_warn checksKees Cook1-2/+1
2022-11-20sched: Move numa_balancing sysctls to its own fileKefeng Wang1-1/+12
2022-11-16sched: Clear ttwu_pending after enqueue_task()Tianchen Ding1-7/+11
2022-11-14sched: Fix race in task_call_func()Peter Zijlstra1-17/+35
2022-10-30sched/psi: Use task->psi_flags to clear in CPU migrationChengming Zhou1-1/+1
2022-10-27sched: Always clear user_cpus_ptr in do_set_cpus_allowed()Waiman Long1-1/+7
2022-10-27sched: Enforce user requested affinityWaiman Long1-0/+10
2022-10-27sched: Always preserve the user requested cpumaskWaiman Long1-55/+64
2022-10-27sched: Introduce affinity_contextWaiman Long1-39/+75
2022-10-27sched: Add __releases annotations to affine_move_task()Waiman Long1-1/+3
2022-10-27sched/uclamp: Fix fits_capacity() check in feec()Qais Yousef1-5/+5
2022-10-17sched: Introduce struct balance_callback to avoid CFI mismatchesKees Cook1-12/+12
2022-10-14Merge tag 'sched-psi-2022-10-14' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+1
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+15
2022-10-10Merge tag 'bitmap-6.1-rc1' of https://github.com/norov/linuxLinus Torvalds1-4/+1
2022-10-10Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-76/+27
2022-10-06sched/core: Merge cpumask_andnot()+for_each_cpu() into for_each_cpu_andnot()Valentin Schneider1-4/+1
2022-09-28sched: Fix TASK_state comparisonsPeter Zijlstra1-1/+1
2022-09-26mm: multi-gen LRU: support page table walksYu Zhao1-0/+1
2022-09-15sched/fair: Cleanup loop_max and loop_breakVincent Guittot1-5/+1
2022-09-11memory tiering: adjust hot threshold automaticallyHuang Ying1-0/+14
2022-09-09sched/psi: Add PSI_IRQ to track IRQ/SOFTIRQ pressureChengming Zhou1-0/+1
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-1/+1
2022-09-07sched: Add TASK_ANY for wait_task_inactive()Peter Zijlstra1-8/+8
2022-09-07sched: Change wait_task_inactive()s match_statePeter Zijlstra1-2/+2
2022-09-07sched: Rename task_running() to task_on_cpu()Peter Zijlstra1-5/+5
2022-08-31sched/debug: Show the registers of 'current' in dump_cpu_task()Zhen Lei1-0/+11
2022-08-31sched/debug: Try trigger_single_cpu_backtrace(cpu) in dump_cpu_task()Zhen Lei1-0/+3
2022-08-30Merge branch 'sched/warnings' into sched/core, to pick up WARN_ON_ONCE() conv...Ingo Molnar1-8/+46
2022-08-23sched/fair: Allow changing cgroup of new forked taskChengming Zhou1-20/+5
2022-08-23sched/fair: Remove redundant cpu_cgrp_subsys->fork()Chengming Zhou1-23/+4
2022-08-12sched/all: Change all BUG_ON() instances in the scheduler to WARN_ON_ONCE()Ingo Molnar1-1/+1
2022-08-06Merge tag 'sched-urgent-2022-08-06' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-5/+11
2022-08-04sched/core: Do not requeue task on CPU excluded from cpus_maskMel Gorman1-2/+6
2022-08-03sched/fair: Make per-cpu cpumasks staticBing Huang1-11/+0
2022-08-03sched, cpuset: Fix dl_cpu_busy() panic due to empty cs->cpus_allowedWaiman Long1-3/+5
2022-08-02Merge tag 'rcu.2022.07.26a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+33
2022-08-02Merge tag 'for-5.20/io_uring-2022-07-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2022-08-02sched/debug: Print each field value left-aligned in sched_show_task()Zhen Lei1-1/+1
2022-08-01Merge tag 'sched-core-2022-08-01' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-91/+124
2022-07-24io_uring: move to separate directoryJens Axboe1-1/+1
2022-07-21Merge branch 'ctxt.2022.07.05a' into HEADPaul E. McKenney1-1/+1
2022-07-13sched/core: Always flush pending blk_plugJohn Keeping1-2/+6
2022-07-04sched/core: Use try_cmpxchg in set_nr_{and_not,if}_pollingUros Bizjak1-15/+9
2022-06-29context_tracking: Split user tracking KconfigFrederic Weisbecker1-1/+1
2022-06-28sched/fair: Rename select_idle_mask to select_rq_maskDietmar Eggemann1-2/+2
2022-06-28sched, drivers: Remove max param from effective_cpu_util()/sched_cpu_util()Dietmar Eggemann1-5/+6
2022-06-28sched: only perform capability check on privileged operationChristian Göttsche1-55/+83
2022-06-21rcu-tasks: Eliminate RCU Tasks Trace IPIs to online CPUsPaul E. McKenney1-0/+32
2022-06-13sched: Remove the limitation of WF_ON_CPU on wakelist if wakee cpu is idleTianchen Ding1-12/+14
2022-06-13sched: Fix the check of nr_running at queue wakelistTianchen Ding1-1/+5
2022-06-13sched: Fix balance_push() vs __sched_setscheduler()Peter Zijlstra1-3/+33
2022-06-03Merge tag 'ptrace_stop-cleanup-for-v5.19' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-4/+1
2022-05-26Merge tag 'sysctl-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-45/+85
2022-05-24Merge tag 'sched-core-2022-05-23' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-10/+13
2022-05-23Merge tag 'rcu.2022.05.19a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+12
2022-05-19sched: Reverse sched_class layoutPeter Zijlstra1-6/+6
2022-05-12sched/tracing: Append prev_state to tp args insteadDelyan Kratunov1-1/+1
2022-05-11ptrace: Don't change __stateEric W. Biederman1-4/+1
2022-05-11sched/core: Avoid obvious double update_rq_clock warningHao Jia1-3/+3
2022-05-09sched: Fix build warning without CONFIG_SYSCTLYueHaibing1-29/+36
2022-05-06Merge tag 'v5.18-rc5' into sched/core to pull in fixes & to resolve a conflictIngo Molnar1-5/+11
2022-05-01smp: Rename flush_smp_call_function_from_idle()Thomas Gleixner1-1/+1
2022-05-01sched: Fix missing prototype warningsThomas Gleixner1-0/+3
2022-04-06sched: Move uclamp_util sysctls to core.cZhen Ni1-11/+37
2022-04-06sched: Move rt_period/runtime sysctls to rt.cZhen Ni1-13/+0
2022-04-06sched: Move schedstats sysctls to core.cZhen Ni1-1/+21
2022-04-05preempt/dynamic: Introduce preemption model accessorsValentin Schneider1-0/+12
2022-04-05sched: Teach the forced-newidle balancer about CPU affinity limitation.Sebastian Andrzej Siewior1-1/+1
2022-04-05sched/core: Fix forceidle balancingPeter Zijlstra1-4/+10
2022-03-22Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-4/+17
2022-03-22NUMA balancing: optimize page placement for memory tiering systemHuang Ying1-4/+17
2022-03-22Merge tag 'sched-core-2022-03-22' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-164/+302
2022-03-21Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+2
2022-03-15sched/headers: Only include <linux/entry-common.h> when CONFIG_GENERIC_ENTRY=yIngo Molnar1-1/+3
2022-03-15Merge branch 'sched/fast-headers' into sched/coreIngo Molnar1-10/+71