[Devel] [PATCH rh7 00/11] Pull percpu_ref for cgroup

Vladimir Davydov vdavydov at parallels.com
Tue Jul 28 08:56:59 PDT 2015


https://jira.sw.ru/browse/PSBM-34174

Kent Overstreet (2):
  percpu: implement generic percpu refcounting
  percpu-refcount: Don't use silly cmpxchg()

Tejun Heo (9):
  percpu-refcount: consistently use plain (non-sched) RCU
  percpu-refcount: cosmetic updates
  percpu-refcount: add __must_check to percpu_ref_init() and don't use
    ACCESS_ONCE() in percpu_ref_kill_rcu()
  percpu-refcount: implement percpu_ref_cancel_init()
  percpu-refcount: implement percpu_tryget() along with
    percpu_ref_kill_and_confirm()
  percpu-refcount: use RCU-sched insted of normal RCU
  cgroup: reorder the operations in cgroup_destroy_locked()
  cgroup: split cgroup destruction into two steps
  cgroup: use percpu refcnt for cgroup_subsys_states

 include/linux/cgroup.h          |  29 ++----
 include/linux/percpu-refcount.h | 174 +++++++++++++++++++++++++++++++
 kernel/cgroup.c                 | 221 ++++++++++++++++++++++++++--------------
 lib/Makefile                    |   2 +-
 lib/percpu-refcount.c           | 158 ++++++++++++++++++++++++++++
 5 files changed, 484 insertions(+), 100 deletions(-)
 create mode 100644 include/linux/percpu-refcount.h
 create mode 100644 lib/percpu-refcount.c

-- 
2.1.4




More information about the Devel mailing list