[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1302222953.3981.88.camel@sli10-conroe>
Date: Fri, 08 Apr 2011 08:35:53 +0800
From: Shaohua Li <shaohua.li@...el.com>
To: Mike Galbraith <efault@....de>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"mingo@...e.hu" <mingo@...e.hu>,
"Yan, Zheng Z" <zheng.z.yan@...el.com>
Subject: Re: [PATCH]sched: convert wall-time to vruntime for
check_preempt_tick
On Thu, 2011-04-07 at 21:34 +0800, Mike Galbraith wrote:
> On Thu, 2011-04-07 at 20:43 +0800, Shaohua Li wrote:
> > In check_preempt_tick(), delta is vruntime and ideal_runtime is wall runtime.
> > Comparing vruntime and ideal_runtime looks buggy.
>
> Why is that buggy? It's a distance in units ns, ala wakeup_granularity,
> a number. This number just happens to be variable.
vruntime is scaled wall-time. In all other places we do the scale from
my understanding. I'm wondering why not do it here.
--
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