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
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 15 Jan 2009 14:15:14 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc:	Mike Galbraith <efault@....de>, Brian Rogers <brian@...w.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [BUG] How to get real-time priority using idle priority


* Peter Zijlstra <a.p.zijlstra@...llo.nl> wrote:

> On Thu, 2009-01-15 at 13:54 +0100, Ingo Molnar wrote:
> > --- a/kernel/sched_fair.c
> > +++ b/kernel/sched_fair.c
> > @@ -283,10 +283,7 @@ static void update_min_vruntime(struct cfs_rq *cfs_rq)
> >                                                    struct sched_entity,
> >                                                    run_node);
> >  
> > -               if (vruntime == cfs_rq->min_vruntime)
> > -                       vruntime = se->vruntime;
> > -               else
> > -                       vruntime = min_vruntime(vruntime, se->vruntime);
> > +               vruntime = min_vruntime(vruntime, se->vruntime);
> >         }
> >  
> >         cfs_rq->min_vruntime = max_vruntime(cfs_rq->min_vruntime, vruntime);
> 
> That's wrong

Please send a patch that makes it right, the twists and turns of patches 
in this thread is quite confusing so i probably picked up the 
last-but-good one. Thanks,

	Ingo
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ