• Linus Torvalds's avatar
    Merge tag 'sched-psi-2022-10-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · bd9a3dba
    Linus Torvalds authored
    Pull PSI updates from Ingo Molnar:
    
     - Various performance optimizations, resulting in a 4%-9% speedup in
       the mmtests/config-scheduler-perfpipe micro-benchmark.
    
     - New interface to turn PSI on/off on a per cgroup level.
    
    * tag 'sched-psi-2022-10-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      sched/psi: Per-cgroup PSI accounting disable/re-enable interface
      sched/psi: Cache parent psi_group to speed up group iteration
      sched/psi: Consolidate cgroup_psi()
      sched/psi: Add PSI_IRQ to track IRQ/SOFTIRQ pressure
      sched/psi: Remove NR_ONCPU task accounting
      sched/psi: Optimize task switch inside shared cgroups again
      sched/psi: Move private helpers to sched/stats.h
      sched/psi: Save percpu memory when !psi_cgroups_enabled
      sched/psi: Don't create cgroup PSI files when psi_disabled
      sched/psi: Fix periodic aggregation shut off
    bd9a3dba
psi.c 42.2 KB