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: Sun, 14 Aug 2011 16:03:58 GMT From: tip-bot for Hillf Danton <dhillf@...il.com> To: linux-tip-commits@...r.kernel.org Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com, a.p.zijlstra@...llo.nl, efault@....de, dhillf@...il.com, rostedt@...dmis.org, tglx@...utronix.de, yong.zhang0@...il.com, mingo@...e.hu Subject: [tip:sched/core] sched: Remove resetting exec_start in put_prev_task_rt() Commit-ID: 1812a643ccbfeb61a00a7f0d7219606e63d8815b Gitweb: http://git.kernel.org/tip/1812a643ccbfeb61a00a7f0d7219606e63d8815b Author: Hillf Danton <dhillf@...il.com> AuthorDate: Thu, 16 Jun 2011 21:55:21 -0400 Committer: Ingo Molnar <mingo@...e.hu> CommitDate: Sun, 14 Aug 2011 12:00:50 +0200 sched: Remove resetting exec_start in put_prev_task_rt() There's no reason to clean the exec_start in put_prev_task_rt() as it is reset when the task gets back to the run queue. This saves us doing a store() in the fast path. Signed-off-by: Hillf Danton <dhillf@...il.com> Signed-off-by: Steven Rostedt <rostedt@...dmis.org> Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl> Cc: Mike Galbraith <efault@....de> Cc: Yong Zhang <yong.zhang0@...il.com> Link: http://lkml.kernel.org/r/BANLkTimqWD=q6YnSDi-v9y=LMWecgEzEWg@mail.gmail.com Signed-off-by: Ingo Molnar <mingo@...e.hu> --- kernel/sched_rt.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 8e18945..70107a3 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c @@ -1178,7 +1178,6 @@ static struct task_struct *pick_next_task_rt(struct rq *rq) static void put_prev_task_rt(struct rq *rq, struct task_struct *p) { update_curr_rt(rq); - p->se.exec_start = 0; /* * The previous task needs to be made eligible for pushing -- 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