commit | 4e2dcb73aecbde9fe4e3137c9ea35cb6aa6cb286 | [log] [tgz] |
---|---|---|
author | Zhang Hang <bob.zhanghang@huawei.com> | Wed Apr 10 14:04:55 2013 +0800 |
committer | Ingo Molnar <mingo@kernel.org> | Wed Apr 10 11:15:45 2013 +0200 |
tree | d3011ead0af5e93ae0312ddf448dd6caae3a0cd3 | |
parent | 28b4a521f618d9722bc780ea38b44718ce0fe283 [diff] |
sched: Simplify can_migrate_task() At this point tsk_cache_hot is always true, so no need to check it. Signed-off-by: Zhang Hang <bob.zhanghang@huawei.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/51650107.9040606@huawei.com [ Also remove unnecessary schedstat #ifdefs. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>