Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4e2dcb73 authored by Zhang Hang's avatar Zhang Hang Committed by Ingo Molnar
Browse files

sched: Simplify can_migrate_task()



At this point tsk_cache_hot is always true, so no need to check it.

Signed-off-by: default avatarZhang 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: default avatarIngo Molnar <mingo@kernel.org>
parent 28b4a521
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment