lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 12 May 2015 22:46:44 +0800 From: Xunlei Pang <xlpang@....com> To: linux-kernel@...r.kernel.org Cc: Peter Zijlstra <peterz@...radead.org>, Steven Rostedt <rostedt@...dmis.org>, Juri Lelli <juri.lelli@...il.com>, Ingo Molnar <mingo@...hat.com>, Xunlei Pang <pang.xunlei@...aro.org> Subject: [PATCH v3 4/4] sched/deadline: Remove redundant conditions from task_woken_dl() From: Xunlei Pang <pang.xunlei@...aro.org> Sync up the same behaviour as that of RT: Remove "has_pushable_dl_tasks(rq)" and "!test_tsk_need_resched(rq->curr)". Signed-off-by: Xunlei Pang <pang.xunlei@...aro.org> --- kernel/sched/deadline.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index 968612b..38c08c4 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -1564,8 +1564,6 @@ static void post_schedule_dl(struct rq *rq) static void task_woken_dl(struct rq *rq, struct task_struct *p) { if (!task_running(rq, p) && - !test_tsk_need_resched(rq->curr) && - has_pushable_dl_tasks(rq) && p->nr_cpus_allowed > 1 && dl_task(rq->curr) && (rq->curr->nr_cpus_allowed < 2 || -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists