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:	Wed, 6 Jun 2007 09:01:43 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Srivatsa Vaddagiri <vatsa@...ibm.com>
Cc:	linux-kernel@...r.kernel.org,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Mike Galbraith <efault@....de>,
	Arjan van de Ven <arjan@...radead.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Balbir Singh <balbir@...ux.vnet.ibm.com>,
	Dmitry Adamushko <dmitry.adamushko@...il.com>
Subject: Re: [patch] CFS scheduler, -v15


* Srivatsa Vaddagiri <vatsa@...ibm.com> wrote:

> > i'm pleased to announce release -v15 of the CFS scheduler patchset.
> 
> Do I smell a bug when a task switches its scheduling classes?
> 
> Lets say a task was in real-time class for a long time and switches to 
> fair-sched class. When update_curr() is called on this new fair-sched 
> task, some of required fields (for ex: exec_start) are uninitialized 
> and can lead to bogus calculations?

yep, you are right. Dmitry Adamushko and Balbir Singh are working on 
this area, and my tree already contains the fixes for rt task's 
exec_start. (this also gives us the ability to have precise 'top' 
statistics for RT tasks.) So this should be fixed in -v16. (Since it's 
quite uncommon for a task to drop in and out of scheduling classes, this 
problem was found via review, not via any user-visible regression.)

> Also, real-time tasks are currently influencing fair clock 
> calculations (because there is only one raw_weighted_load field per 
> runqueue). Is that intentional?

yep - the 'fair clock' in essence freezes when RT tasks are running (but 
not completely). Can you think of any bad effect from this perhaps? It's 
useful to have unified load-balancing (smpnice-driven) between the RT 
and fair classes.

	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