Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe
  • Repository
  • ipipe
  • block
  • blk-cgroup.c
Find file Blame History Permalink
  • Tejun Heo's avatar
    blkcg: shoot down blkgs if all policies are deactivated · 6d18b008
    Tejun Heo authored Apr 13, 2012
    
    
    There's no reason to keep blkgs around if no policy is activated for
    the queue.  This patch moves queue locking out of blkg_destroy_all()
    and call it from blkg_deactivate_policy() on deactivation of the last
    policy on the queue.
    
    This change was suggested by Vivek.
    
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    6d18b008

Imprint & Privacy Policy