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]
Date:	Thu, 30 Oct 2014 11:25:02 -0400
From:	Tejun Heo <tj@...nel.org>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	Vikas Shivappa <vikas.shivappa@...el.com>,
	"Auld, Will" <will.auld@...el.com>,
	Matt Fleming <matt@...sole-pimps.org>,
	Vikas Shivappa <vikas.shivappa@...ux.intel.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"Fleming, Matt" <matt.fleming@...el.com>
Subject: Re: Cache Allocation Technology Design

Hello, Peter.

On Thu, Oct 30, 2014 at 02:19:04PM +0100, Peter Zijlstra wrote:
> On Thu, Oct 30, 2014 at 08:44:40AM -0400, Tejun Heo wrote:
> > On Thu, Oct 30, 2014 at 08:14:24AM +0100, Peter Zijlstra wrote:
> > > On Thu, Oct 30, 2014 at 08:07:25AM +0100, Peter Zijlstra wrote:
> > > > > and always allow execution of member tasks.
> > > 
> > > This too btw is not strictly speaking possible for all controllers. Most
> > > all sched controllers live by the grace of forcing tasks not to run at
> > > times (eg. the bandwidth controls), falsifying the 'always'.
> > 
> > Oh sure, the a task just has to run in a foreseeable future, or
> > rather, a task must not be blocked indefinitely requiring userland
> > intervention to become executable again.
> 
> Like the freezer cgroup you mean? ;-)

Oh yeah, that's horribly broken.  Merging it with jobctl stop is a
todo item.  This "stuck in a random place in kernel" thing made sense
for suspend/hibernation only because the kernel wasn't gonna run
anymore.  The fact that this got exposed to userland on a running
system just shows how little we were thinking while implementing all
the controllers.  It should be equivalent to layered job control stop
so that what's prevented from running is the userland part, not
kernel.

Thanks.

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