1. 29 6月, 2013 2 次提交
  2. 20 6月, 2013 2 次提交
  3. 04 6月, 2013 1 次提交
  4. 01 6月, 2013 1 次提交
  5. 29 5月, 2013 4 次提交
  6. 24 5月, 2013 1 次提交
    • T
      device_cgroup: simplify cgroup tree walk in propagate_exception() · d591fb56
      Tejun Heo 提交于
      During a config change, propagate_exception() needs to traverse the
      subtree to update config on the subtree.  Because such config updates
      need to allocate memory, it couldn't directly use
      cgroup_for_each_descendant_pre() which required the whole iteration to
      be contained in a single RCU read critical section.  To work around
      the limitation, propagate_exception() built a linked list of
      descendant cgroups while read-locking RCU and then walked the list
      afterwards, which is safe as the whole iteration is protected by
      devcgroup_mutex.  This works but is cumbersome.
      
      With the recent updates, cgroup iterators now allow dropping RCU read
      lock while iteration is in progress making this workaround no longer
      necessary.  This patch replaces dev_cgroup->propagate_pending list and
      get_online_devcg() with direct cgroup_for_each_descendant_pre() walk.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Aristeu Rozanski <aris@redhat.com>
      Acked-by: NSerge E. Hallyn <serge.hallyn@ubuntu.com>
      Reviewed-by: NMichal Hocko <mhocko@suse.cz>
      d591fb56
  7. 12 5月, 2013 1 次提交
  8. 08 5月, 2013 1 次提交
  9. 01 5月, 2013 1 次提交
  10. 30 4月, 2013 1 次提交
  11. 28 4月, 2013 20 次提交
  12. 19 4月, 2013 1 次提交
  13. 18 4月, 2013 1 次提交
  14. 10 4月, 2013 1 次提交
  15. 08 4月, 2013 1 次提交
  16. 03 4月, 2013 1 次提交