[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4B0BBBB1.2050100@klingt.org>
Date: Tue, 24 Nov 2009 11:55:45 +0100
From: Tim Blechmann <tim@...ngt.org>
To: linux-kernel@...r.kernel.org
Subject: [PATCH 4/5] sched_fair.c: remove branch hint
branch hint profiling of my nehalem machine, showed 90% incorrect
branch hints:
15728471 158903754 90 pick_next_task_fair sched_fair.c
1555
Signed-off-by: Tim Blechmann <tim@...ngt.org>
---
kernel/sched_fair.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index e5945df..5a0965c 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -1552,7 +1552,7 @@ static struct task_struct
*pick_next_task_fair(struct rq *rq)
struct cfs_rq *cfs_rq = &rq->cfs;
struct sched_entity *se;
- if (unlikely(!cfs_rq->nr_running))
+ if (!cfs_rq->nr_running)
return NULL;
do {
--
1.6.4.2
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists