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]
Message-ID: <4D0F34C0.9000400@redhat.com>
Date:	Mon, 20 Dec 2010 12:49:36 +0200
From:	Avi Kivity <avi@...hat.com>
To:	Mike Galbraith <efault@....de>
CC:	Rik van Riel <riel@...hat.com>, kvm@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Chris Wright <chrisw@...s-sol.org>
Subject: Re: [RFC -v2 PATCH 2/3] sched: add yield_to function

On 12/20/2010 12:46 PM, Mike Galbraith wrote:
> >
> >  However, if I'm all alone on my cpu, and the other task is runnable but
> >  not running, behind some unrelated task, then I do need that task to be
> >  preempted (or to move tasks around).
>
> So in that case, a pull may be advantageous.

Yes.

> >  >  Would a kick/hint option be useful?
> >
> >  Depends on what it does...
>
> Let you decide whether you only want to drop a hint and leave it at
> that, or also attempt a preemption.

Who is "you" in this?  the scheduler?

I'm fine with hints so long as they are usually acted upon (if it isn't, 
I'll go back to the guest, spin a bit more, and retry).

-- 
error compiling committee.c: too many arguments to function

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