Skip to content
Commit a3e5d109 authored by Andrew Vagin's avatar Andrew Vagin Committed by Ingo Molnar
Browse files

sched: Don't call task_group() too many times in set_task_rq()



It improves perfomance, especially if autogroup is enabled.

The size of set_task_rq() was 0x180 and now it is 0xa0.

Signed-off-by: default avatarAndrew Vagin <avagin@openvz.org>
Acked-by: default avatarPaul Turner <pjt@google.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1321020240-3874331-1-git-send-email-avagin@openvz.org


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f4d6f6c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment