Skip to contentSkip to conversation

remove used member(struct rcu_data::rcu_tasklet)

PATCH Lai Jiangshan 2 participants 2 messages May 19, 2008

lore
Share & tools
lore
#0 lore raw

Since softirq works for rcu reclaimer, rcu_tasklet is unused now.

kernel/rcupreempt.c +0 -1
index e1cdf19..4270de6 100644
@@ -82,7 +82,6 @@ struct rcu_data {
 	spinlock_t	lock;		/* Protect rcu_data fields. */
 	long		completed;	/* Number of last completed batch. */
 	int		waitlistcount;
-	struct tasklet_struct rcu_tasklet;
 	struct rcu_head *nextlist;
 	struct rcu_head **nexttail;
 	struct rcu_head *waitlist[GP_STAGES];
Reviewed-by
#1 lore raw
Quoted 1 line · Lai Jiangshan

Since softirq works for rcu reclaimer, rcu_tasklet is unused now.

good catch!

Quoted 16 lines
kernel/rcupreempt.c +0 -1
index e1cdf19..4270de6 100644
@@ -82,7 +82,6 @@ struct rcu_data {
 	spinlock_t	lock;		/* Protect rcu_data fields. */
 	long		completed;	/* Number of last completed batch. */
 	int		waitlistcount;
-	struct tasklet_struct rcu_tasklet;
 	struct rcu_head *nextlist;
 	struct rcu_head **nexttail;
 	struct rcu_head *waitlist[GP_STAGES];