Re: [RESEND PATCH 3/3 v5] sched: Remove task and group entity load_avg when they are dead

From: Peter Zijlstra
Date: Wed Oct 22 2014 - 06:31:13 EST


On Fri, Oct 10, 2014 at 10:21:57AM +0800, Yuyang Du wrote:
> When task exits or group is destroyed, the entity's load_avg should be
> removed from its parent cfs_rq's load_avg. Otherwise, it will take time
> for the parent cfs_rq to decay the dead entity's load_avg to 0, which
> is not desired.

Right, this is something pjt wanted to do ever since we got that
callback in for dl. Nice.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/