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: <47547BB6.3040402@rtr.ca>
Date:	Mon, 03 Dec 2007 16:57:10 -0500
From:	Mark Lord <lkml@....ca>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Chris Friesen <cfriesen@...tel.com>, davids@...master.com,
	Nick Piggin <nickpiggin@...oo.com.au>,
	"Zhang, Yanmin" <yanmin_zhang@...ux.intel.com>,
	Arjan van de Ven <arjan@...radead.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: sched_yield: delete sysctl_sched_compat_yield

Ingo Molnar wrote:
> * Mark Lord <lkml@....ca> wrote:
> 
>> That's not the same thing at all. I think that David is suggesting 
>> that the reinsertion logic should pretend that the task used up all of 
>> the CPU time it was offered in the slot leading up to the 
>> sched_yield() call.
> 
> we have tried this too, and this has problems too (artificial inflation 
> of the vruntime metric and a domino effects on other portions of the 
> scheduler). So this is a worse solution than what we have now. (and this 
> has all been pointed out in past discussions in which David 
> participated. I'll certainly reply to any genuinely new idea.)
..

Ack.  And what of the suggestion to try to ensure that a yielding task
simply not end up as the very next one chosen to run?  Maybe by swapping
it with another (adjacent?) task in the tree if it comes out on top again?

(I really don't know the proper terminology to use here,
 but hopefully Ingo can translate that).

That's probably already been covered too, but are the prior conclusions still valid?

Thanks Ingo -- I *really* like this scheduler!
--
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