login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
24
Re: [git] CFS-devel, group scheduler, fixes
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Peter Zijlstra <a.p.zijlstra@...>
To: Mike Galbraith <efault@...>
Cc: Tong Li <tong.n.li@...>, Ingo Molnar <mingo@...>, dimm <dmitry.adamushko@...>, <linux-kernel@...>, Srivatsa Vaddagiri <vatsa@...>
Subject:
Re: [git] CFS-devel, group scheduler, fixes
Date: Monday, September 24, 2007 - 6:24 am
On Mon, 24 Sep 2007 12:10:09 +0200 Mike Galbraith <efault@gmx.de> wrote:
quoted text
> @@ -117,7 +117,7 @@ static inline struct task_struct *task_o > static inline u64 > max_vruntime(u64 min_vruntime, u64 vruntime) > { > - if ((vruntime > min_vruntime) || > + if (((s64)vruntime > (s64)min_vruntime) || > (min_vruntime > (1ULL << 61) && vruntime < (1ULL << 50))) > min_vruntime = vruntime; >
how about something like: s64 delta = (s64)(vruntime - min_vruntime); if (delta > 0) min_vruntime += delta; That would rid us of most of the funny conditionals there. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: [git] CFS-devel, group scheduler, fixes
, dimm
, (Tue Sep 18, 3:36 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Ingo Molnar
, (Tue Sep 18, 4:16 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Tong Li
, (Wed Sep 19, 2:03 am)
Re: [git] CFS-devel, group scheduler, fixes
, Siddha, Suresh B
, (Wed Sep 19, 3:35 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Tong Li
, (Wed Sep 19, 4:58 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Wed Sep 19, 2:28 am)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Wed Sep 19, 3:51 am)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Wed Sep 19, 4:42 am)
Re: [git] CFS-devel, group scheduler, fixes
, Tong Li
, (Wed Sep 19, 1:06 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Thu Sep 20, 12:55 am)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Thu Sep 20, 3:15 am)
Re: [git] CFS-devel, group scheduler, fixes
, Willy Tarreau
, (Thu Sep 20, 3:48 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Thu Sep 20, 10:40 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Willy Tarreau
, (Thu Sep 20, 11:11 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Ingo Molnar
, (Thu Sep 20, 3:51 am)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Thu Sep 20, 4:11 am)
Re: [git] CFS-devel, group scheduler, fixes
, Tong Li
, (Fri Sep 21, 11:27 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Sat Sep 22, 6:01 am)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Sun Sep 23, 3:14 am)
Re: [git] CFS-devel, group scheduler, fixes
, Tong Li
, (Mon Sep 24, 2:21 am)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Mon Sep 24, 6:10 am)
Re: [git] CFS-devel, group scheduler, fixes
, Peter Zijlstra
, (Mon Sep 24, 6:24 am)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Mon Sep 24, 6:42 am)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Mon Sep 24, 7:22 am)
Re: [git] CFS-devel, group scheduler, fixes
, Peter Zijlstra
, (Mon Sep 24, 7:51 am)
Re: [git] CFS-devel, group scheduler, fixes
, Tong Li
, (Mon Sep 24, 12:43 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Peter Zijlstra
, (Mon Sep 24, 7:08 am)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Mon Sep 24, 7:43 am)
Re: [git] CFS-devel, group scheduler, fixes
, Mike Galbraith
, (Sun Sep 23, 7:37 am)
Re: [git] CFS-devel, group scheduler, fixes
, Ingo Molnar
, (Tue Sep 18, 4:22 pm)
Re: [git] CFS-devel, group scheduler, fixes
, Srivatsa Vaddagiri
, (Tue Sep 18, 11:55 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michal Piotrowski
Re: 2.6.23-rc3-mm1
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Fred Tyler
Slow, persistent memory leak in 2.6.20
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Antonio Almeida
HTB accuracy for high speed
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
551 guests
online.
Online users
usuwanieznamion
Syndicate