diff options
author | Alex Shi <[email protected]> | 2013-06-20 10:18:54 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-06-27 10:07:40 +0200 |
commit | bf5b986ed4d20428eeec3df4a03dbfebb9b6538c (patch) | |
tree | cb3b21f66bb5e5e11a94db3bc26764497e814a26 /net/unix/sysctl_net_unix.c | |
parent | 72a4cf20cb71a327c636c7042fdacc25abffc87c (diff) |
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 <[email protected]>
Tested-by: Vincent Guittot <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions