Commit-ID: 4e2dcb73aecbde9fe4e3137c9ea35cb6aa6cb286
Gitweb: http://git.kernel.org/tip/4e2dcb73aecbde9fe4e3137c9ea35cb6aa6cb286
Author: Zhang Hang
AuthorDate: Wed, 10 Apr 2013 14:04:55 +0800
Committer: Ingo Molnar
CommitDate: Wed, 10 Apr 2013 11:15:45 +0200
sched: Simplify
There is no opportunity to return 1 if tsk_cache_hot is true and the expression
(env->sd->nr_balance_failed > env->sd->cache_nice_tries) is false.
Meanwhile, it's unnecessary to judge whether tsk_cache_hot is true or
false after being filtered by previous judgment.
Signe
2 matches
Mail list logo