Skip to contentSkip to conversation

remove member rt_se from struct rt_rq

RFC PATCH In review Yong Zhang 2 participants 4 messages Jan 29, 2010 – Feb 1, 2010

lore
Share & tools
lore

Yong Zhang

author
#0 lore raw

cover remove member rt_se from struct rt_rq

member rt_se of struct rt_rq is a duplicate of tg->rt_se[cpu]. So we can remove one of them. After checking CFS, I think rt_rq->rt_se can be removed for some kinds of consistence.

Yong Zhang (2):
sched: change usage of rt_rq->rt_se to rt_rq->tg->rt_se[cpu]
sched: remove member rt_se from struct rt_rq

 kernel/sched.c    |    2 --
 kernel/sched_rt.c |   10 ++++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)
#1 lore raw
Quoted 3 lines · Yong Zhang

member rt_se of struct rt_rq is a duplicate of tg->rt_se[cpu]. So we can remove one of them. After checking CFS, I think rt_rq->rt_se can be removed for some kinds of consistence.

Looks good I think.

author
#2 lore raw
Quoted 6 lines · Peter Zijlstra
Quoted 3 lines · Yong Zhang

member rt_se of struct rt_rq is a duplicate of tg->rt_se[cpu]. So we can remove one of them. After checking CFS, I think rt_rq->rt_se can be removed for some kinds of consistence.

Looks good I think.

Hi Peter,

Seems nobody has objection on the two patches.
Can you pick them up?
Or should I resend the patchset again?

Thanks,
Yong

#3 lore raw
Quoted 6 lines · Yong Zhang
Quoted 5 lines · Peter Zijlstra
Quoted 3 lines · Yong Zhang

member rt_se of struct rt_rq is a duplicate of tg->rt_se[cpu]. So we can remove one of them. After checking CFS, I think rt_rq->rt_se can be removed for some kinds of consistence.

Quoted 6 lines
Quoted 1 line

Looks good I think.

Hi Peter,

Seems nobody has objection on the two patches.
Can you pick them up?

I'll take them, thanks!