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: <1305656829.6238.41.camel@marge.simson.net>
Date:	Tue, 17 May 2011 20:27:09 +0200
From:	Mike Galbraith <efault@....de>
To:	Hillf Danton <dhillf@...il.com>
Cc:	Yong Zhang <yong.zhang0@...il.com>,
	LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
	Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH] sched: fix how RT task is pulled

On Tue, 2011-05-17 at 22:47 +0800, Hillf Danton wrote:
> On Tue, May 17, 2011 at 10:35 AM, Yong Zhang <yong.zhang0@...il.com> wrote:
> > On Sun, May 15, 2011 at 10:50 AM, Hillf Danton <dhillf@...il.com> wrote:
> >> When pulling RT task for a given runqueue, if it is already overloaded
> >> with RT tasks, the pull operation could be avoided at the moment.
> >>
> >> btw, it looks like a typo?
> >
> > No.
> >
> > Below is how rt_overloaded() is realized:
> > static inline int rt_overloaded(struct rq *rq)
> > {
> >        return atomic_read(&rq->rd->rto_count);
> > }
> >
> > You can notice it's about the overload of the very root_domain.
> >
> Well, why is it going no head if not overloaded?

To avoid examining masks (maybe huge) routinely.  Challenge is to
improve oddball case (overload) without injuring the common case.

	-Mike

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