Skip to content
  • Linus Torvalds's avatar
    Merge branch 'for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu · 13cc5601
    Linus Torvalds authored
    Pull per-cpu changes from Tejun Heo:
     "This pull request contains Kent's per-cpu reference counter.  It has
      gone through several iterations since the last time and the dynamic
      allocation is gone.
    
      The usual usage is relatively straight-forward although async kill
      confirm interface, which is not used int most cases, is somewhat icky.
      There also are some interface concerns - e.g.  I'm not sure about
      passing in @relesae callback during init as that becomes funny when we
      later implement synchronous kill_and_drain - but nothing too serious
      and it's quite useable now.
    
      cgroup_subsys_state refcnting has already been converted and we should
      convert module refcnt (Kent?)"
    
    * 'for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu:
      percpu-refcount: use RCU-sched insted of normal RCU
      percpu-refcount: implement percpu_tryget() along with percpu_ref_kill_and_confirm()
      percpu-refcount: implement percpu_ref_cancel_init()
      percpu-refcount: add __must_check to percpu_ref_init() and don't use ACCESS_ONCE() in percpu_ref_kill_rcu()
      percpu-refcount: cosmetic updates
      percpu-refcount: consistently use plain (non-sched) RCU
      percpu-refcount: Don't use silly cmpxchg()
      percpu: implement generic percpu refcounting
    13cc5601