diff options
author | Alex Shi <alex.shi@intel.com> | 2013-06-20 10:18:54 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-06-27 10:07:40 +0200 |
commit | bf5b986ed4d20428eeec3df4a03dbfebb9b6538c (patch) | |
tree | cb3b21f66bb5e5e11a94db3bc26764497e814a26 /security | |
parent | 72a4cf20cb71a327c636c7042fdacc25abffc87c (diff) | |
download | kernel_goldelico_gta04-bf5b986ed4d20428eeec3df4a03dbfebb9b6538c.zip kernel_goldelico_gta04-bf5b986ed4d20428eeec3df4a03dbfebb9b6538c.tar.gz kernel_goldelico_gta04-bf5b986ed4d20428eeec3df4a03dbfebb9b6538c.tar.bz2 |
sched/tg: Use 'unsigned long' for load variable in task group
Since tg->load_avg is smaller than tg->load_weight, we don't need a
atomic64_t variable for load_avg in 32 bit machine.
The same reason for cfs_rq->tg_load_contrib.
The atomic_long_t/unsigned long variable type are more efficient and
convenience for them.
Signed-off-by: Alex Shi <alex.shi@intel.com>
Tested-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1371694737-29336-11-git-send-email-alex.shi@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions