remove member rt_se from struct rt_rq
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(-)
Quoted 3 lines · Yong Zhang
member
rt_seof structrt_rqis a duplicate of tg->rt_se[cpu]. So we can remove one of them. After checking CFS, I thinkrt_rq->rt_secan be removed for some kinds of consistence.
Looks good I think.
Quoted 6 lines · Peter Zijlstra
Quoted 3 lines · Yong Zhang
member
rt_seof structrt_rqis a duplicate of tg->rt_se[cpu]. So we can remove one of them. After checking CFS, I thinkrt_rq->rt_secan 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
Quoted 6 lines · Yong Zhang
Quoted 5 lines · Peter Zijlstra
Quoted 3 lines · Yong Zhang
member
rt_seof structrt_rqis a duplicate of tg->rt_se[cpu]. So we can remove one of them. After checking CFS, I thinkrt_rq->rt_secan 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!