• Linus Torvalds's avatar
    Merge tag 'cgroup-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 6e2332e0
    Linus Torvalds authored
    Pull cgroup updates from Tejun Heo:
    
     - Whenever cpuset needs to rebuild sched_domain, it walked all tasks
       looking for DEADLINE tasks as they need to be accounted on the new
       domain. Walking all tasks can be expensive and there may not be any
       DEADLINE tasks at all. Task iteration is now omitted if there are no
       DEADLINE tasks
    
     - Fixes DEADLINE bandwidth misaccounting after task migration failures
    
     - When no controller is enabled, -Wstringop-overflow warning is
       triggered. The fix patch added an early exit which is too eager and
       got reverted for now. Will fix later
    
     - Everything else is minor cleanups
    
    * tag 'cgroup-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
      Revert "cgroup: Avoid -Wstringop-overflow warnings"
      cgroup/misc: Expose misc.current on cgroup v2 root
      cgroup: Avoid -Wstringop-overflow warnings
      cgroup: remove obsolete comment on cgroup_on_dfl()
      cgroup: remove unused task_cgroup_path()
      cgroup/cpuset: remove unneeded header files
      cgroup: make cgroup_is_threaded() and cgroup_is_thread_root() static
      rdmacg: fix kernel-doc warnings in rdmacg
      cgroup: Replace the css_set call with cgroup_get
      cgroup: remove unused macro for_each_e_css()
      cgroup: Update out-of-date comment in cgroup_migrate()
      cgroup: Replace all non-returning strlcpy with strscpy
      cgroup/cpuset: remove unneeded header files
      cgroup/cpuset: Free DL BW in case can_attach() fails
      sched/deadline: Create DL BW alloc, free & check overflow interface
      cgroup/cpuset: Iterate only if DEADLINE tasks are present
      sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets
      sched/cpuset: Bring back cpuset_mutex
      cgroup/cpuset: Rename functions dealing with DEADLINE accounting
    6e2332e0
cgroup-v1.c 34.1 KB