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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1232024701.8870.47.camel@laptop>
Date:	Thu, 15 Jan 2009 14:05:01 +0100
From:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
To:	Ingo Molnar <mingo@...e.hu>
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

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

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