Re: [PATCH 2/6] sched/fair.c: change "has_capacity" to "has_free_capacity"

From: Peter Zijlstra
Date: Thu May 15 2014 - 03:21:21 EST


On Wed, May 14, 2014 at 04:57:06PM -0400, Nicolas Pitre wrote:
> The capacity of a CPU/group should be some intrinsic value that doesn't
> change with task placement. It is like a container which capacity is
> stable regardless of the amount of liquid in it... unless the container
> itself is crushed that is, but that's another story.
>
> Therefore let's rename "has_capacity" to "has_free_capacity" in order to
> better convey the wanted meaning.
>

Yeah, not really, the whole capacity thing is bollocks, but sure we can
rename it for as long as it still lives ;-)

Attachment: pgpMkYhMNMj0M.pgp
Description: PGP signature