• Linus Torvalds's avatar
    Merge tag 'sched-core-2022-12-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · bf57ae21
    Linus Torvalds authored
    Pull scheduler updates from Ingo Molnar:
    
     - Implement persistent user-requested affinity: introduce
       affinity_context::user_mask and unconditionally preserve the
       user-requested CPU affinity masks, for long-lived tasks to better
       interact with cpusets & CPU hotplug events over longer timespans,
       without destroying the original affinity intent if the underlying
       topology changes.
    
     - Uclamp updates: fix relationship between uclamp and fits_capacity()
    
     - PSI fixes
    
     - Misc fixes & updates
    
    * tag 'sched-core-2022-12-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      sched: Clear ttwu_pending after enqueue_task()
      sched/psi: Use task->psi_flags to clear in CPU migration
      sched/psi: Stop relying on timer_pending() for poll_work rescheduling
      sched/psi: Fix avgs_work re-arm in psi_avgs_work()
      sched/psi: Fix possible missing or delayed pending event
      sched: Always clear user_cpus_ptr in do_set_cpus_allowed()
      sched: Enforce user requested affinity
      sched: Always preserve the user requested cpumask
      sched: Introduce affinity_context
      sched: Add __releases annotations to affine_move_task()
      sched/fair: Check if prev_cpu has highest spare cap in feec()
      sched/fair: Consider capacity inversion in util_fits_cpu()
      sched/fair: Detect capacity inversion
      sched/uclamp: Cater for uclamp in find_energy_efficient_cpu()'s early exit condition
      sched/uclamp: Make cpu_overutilized() use util_fits_cpu()
      sched/uclamp: Make asym_fits_capacity() use util_fits_cpu()
      sched/uclamp: Make select_idle_capacity() use util_fits_cpu()
      sched/uclamp: Fix fits_capacity() check in feec()
      sched/uclamp: Make task_fits_capacity() use util_fits_cpu()
      sched/uclamp: Fix relationship between uclamp and migration margin
    bf57ae21
core.c 286 KB