Re: [PATCH v5 8/8] sched/numa: drop unnecessary variable in task_weight

2013-12-11 Thread Naoya Horiguchi
On Wed, Dec 11, 2013 at 09:21:23AM +, Mel Gorman wrote: > On Wed, Dec 11, 2013 at 08:50:01AM +0800, Wanpeng Li wrote: > > Drop unnecessary total_faults variable in function task_weight to unify > > task_weight and group_weight. > > > > Reviewed-by: Naoya Horiguchi > > Signed-off-by: Wanpeng L

Re: [PATCH v5 8/8] sched/numa: drop unnecessary variable in task_weight

2013-12-11 Thread Mel Gorman
On Wed, Dec 11, 2013 at 08:50:01AM +0800, Wanpeng Li wrote: > Drop unnecessary total_faults variable in function task_weight to unify > task_weight and group_weight. > > Reviewed-by: Naoya Horiguchi > Signed-off-by: Wanpeng Li Nak. task_weight is called for tasks other than current. If p handl