Skip to content
Commit f269ae04 authored by Paul Turner's avatar Paul Turner Committed by Ingo Molnar
Browse files

sched: Update_cfs_shares at period edge



Now that our measurement intervals are small (~1ms) we can amortize the posting
of update_shares() to be about each period overflow.  This is a large cost
saving for frequently switching tasks.

Signed-off-by: default avatarPaul Turner <pjt@google.com>
Reviewed-by: default avatarBen Segall <bsegall@google.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20120823141507.200772172@google.com


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