aboutsummaryrefslogtreecommitdiff
path: root/fs/namespace.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2019-06-06 10:21:01 -0700
committerIngo Molnar <[email protected]>2019-06-17 12:16:01 +0200
commit66567fcbaecac455caa1b13643155d686b51ce63 (patch)
tree8abd2701725d26e700bbd1c00dee312a3158769a /fs/namespace.c
parentaacedf26fb7601222f2452cf0a54cab4fee160c5 (diff)
sched/fair: Don't push cfs_bandwith slack timers forward
When a cfs_rq sleeps and returns its quota, we delay for 5ms before waking any throttled cfs_rqs to coalesce with other cfs_rqs going to sleep, as this has to be done outside of the rq lock we hold. The current code waits for 5ms without any sleeps, instead of waiting for 5ms from the first sleep, which can delay the unthrottle more than we want. Switch this around so that we can't push this forward forever. This requires an extra flag rather than using hrtimer_active, since we need to start a new timer if the current one is in the process of finishing. Signed-off-by: Ben Segall <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Xunlei Pang <[email protected]> Acked-by: Phil Auld <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions