mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
cgroup: Use rcu_work instead of explicit rcu and work item
Workqueue now has rcu_work. Use it instead of open-coding rcu -> work item bouncing. Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
05f0fe6b74
commit
8f36aaec9c
2 changed files with 8 additions and 15 deletions
|
@ -151,8 +151,8 @@ struct cgroup_subsys_state {
|
|||
atomic_t online_cnt;
|
||||
|
||||
/* percpu_ref killing and RCU release */
|
||||
struct rcu_head rcu_head;
|
||||
struct work_struct destroy_work;
|
||||
struct rcu_work destroy_rwork;
|
||||
|
||||
/*
|
||||
* PI: the parent css. Placed here for cache proximity to following
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue